From 94a29252301d583cb24606097a6b37c338a90580 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 23 Oct 2022 10:50:26 -0400 Subject: [PATCH] Update node-red-install.sh fix install --- setup/node-red-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup/node-red-install.sh b/setup/node-red-install.sh index 6e0843f2..2193abd3 100644 --- a/setup/node-red-install.sh +++ b/setup/node-red-install.sh @@ -78,9 +78,8 @@ apt-get install -y sudo &>/dev/null msg_ok "Installed Dependencies" msg_info "Installing Node-Red" -bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi &>/dev/nul -sudo systemctl enable nodered.service &>/dev/null -sudo systemctl start nodered.service &>/dev/null +bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi --node18 --no-init &>/dev/nul +systemctl enable --now nodered.service &>/dev/null msg_ok "Installed Node-Red" PASS=$(grep -w "root" /etc/shadow | cut -b6);