Continuous running with nohup

suggest change

An alternative to forever on Linux is nohup. The usual binary is node. Some Linux packages name it nodejs.

To start a nohup instance:

  1. cd to the directory that contains app.js or the www folder.
  2. Run nohup node app.js &.

To stop the process:

  1. Run ps -ef | grep node.
  2. Run kill <pid>. Use kill -9 only if the process ignores a normal kill.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents