What command i need to restart only Node Red?
killall node-red
or
svc -t /service/node-red-venus
or even easier
use the soft switch from the Venus OS Large menu on the remote console. Disabled will stop Node-RED, enabled will start it again.
I want to replicate the Node Red soft switch from the Venus OS Large menu on the remote console, in a node red dashboard using a button and an exec command. Which commands should I execute to stop and the start node red?
You can stop node-red with exec-node, but you cannot start it from node-red, since it has stopped.
With the killall node-red command in an exec node, node-red will automatically restart
38 People are following this question.