Keep a node application constanly running:
*Continuous running with nohup
An alternative to forever on Linux is nohup.
To start a nohup instance
app.js or wwwfolder
nohup nodejs app.js &
To kill the process
ps -ef|grep nodejs
kill -9 <the process number>