--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/5b0caeba-1049-493c-b0bf-f348da338e53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Trevor,Installing the node-red package from npm gives you the `node-red` command which directly runs the node process. The only way to stop it is to ctrl-c in the terminal you ran it in.The documentation on running node-red goes on to describe how to run node-red automatically (https://nodered.org/docs/getting-started/running), using the pm2 node runner.On the Raspberry Pi, the upgrade script we provide installs NR as a systemd service. In that instance we also provide the node-red-start/stop commands to wrap the corresponding systemd commands.Nick
On 4 December 2017 at 09:30, Trevor Muraro <trevor...@gmail.com> wrote:
I have just installed node-red on my Mac with "sudo npm install -g node-red". After installing, I can start node-red from the command line with "node-red", and node-red shows up at localhost:1880 just like it should. What I don't know is how to stop it.The documentation on nodered.org says how to start node-red, but not how to stop it. The "upgrading" page says to stop node-red before upgrading, so it's clearly possible. I've tried "node-red-stop" from the Raspberry Pi documentation, but neither that nor "node-red-start" are recognized as commands. I can stop node-red with Ctrl+C in the Terminal window I started node-red in, but I sincerely hope that's not the only way to do it.Any advice would be appreciated.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.