Kusal Kumar Kusal Kumar - 1 year ago 109
Node.js Question

How can I start the node red with forever in my linux server?

I am installed node-red with npm and able to run the node red by just typing the 'node-red' in terminal thats it. But how can I run the the node red in linux server with forever command ? I want node red running continuously.

Answer Source

You can start a script as a daemon. But first install forever globally: npm -g install forever (you'll need root privileges to do that). Then issue command forever start /path/to/node-red red.js.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download