Nathan Riley
asked on
Start and keep running node.js instance
I'm trying to figure out how to keep a node.js instance running.
Right now I open up ssh and run "node server" and everything takes off and goes. As soon as I close SSH obviously the server goes down. I tried screen, but then my server unexpectedly quit last night, is there a better solution for starting it up and keeping it running? If crashes then restart it?
Right now I open up ssh and run "node server" and everything takes off and goes. As soon as I close SSH obviously the server goes down. I tried screen, but then my server unexpectedly quit last night, is there a better solution for starting it up and keeping it running? If crashes then restart it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The author was provided with the best solution.
ASKER