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?