File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -818,7 +818,7 @@ case $yn in
818818 # echo ""
819819 # echo " sudo chown root:root ~/.node-red/settings.js"
820820 # echo " "
821- # fi
821+ fi
822822 if [ " $EUID " == " 0" ]; then
823823 echo " - Do not run Node-RED as root or an administraive account"
824824 echo " "
Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ if [[ $(which node-red-pi) ]]; then
5252 sudo systemctl start nodered
5353 echo " "
5454 echo " Starting as a systemd service."
55- sudo journalctl -f -n 0 -u nodered -o cat
55+ sudo journalctl -f -n 1 -u nodered -o cat
5656 elif [ $EUID -eq 0 ]; then
5757 # Current user is root, start node-red through systemd
5858 systemctl start nodered
5959 echo " "
6060 echo " Starting as root systemd service."
61- journalctl -f -n 0 -u nodered -o cat
61+ journalctl -f -n 1 -u nodered -o cat
6262 else
6363 # Start node-red as unprivileged user
6464 echo " "
You can’t perform that action at this time.
0 commit comments