mean stack - What is the command/configuration to run NodeJS/Express app as a daemon? -


If I run SSH:

  $ node server  < / Pre> 

My Web app works fine until I close the SSH session. What commands or configurations are necessary so that it runs without active SSH session all the time?

You can turn it on:

  nohup node server < / Code> 

Or you can install forever.

  npm -g always start forever server  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -