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
Post a Comment