From 0cf3512f96003d17a7d8ad6bfd1c78cf19bfc0bb Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 29 Jan 2022 18:04:17 -0500 Subject: [PATCH] Update node-red_setup.sh --- setup/node-red_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/node-red_setup.sh b/setup/node-red_setup.sh index a3100e96..a78d78a2 100644 --- a/setup/node-red_setup.sh +++ b/setup/node-red_setup.sh @@ -52,7 +52,7 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840 EOF systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') -node-red-start &>/dev/null +systemctl start nodered.service &>/dev/null systemctl enable nodered.service &>/dev/null echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" rm -rf /node-red_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*