What's the de facto standard for running a node.js server in production?
Solution 1:
Used forever as a daemon tool in past projects. It'll automatically restart your node.js scripts if they crash. Also, it can start and manage multiple node processes and maintain a log file for each of them individually. However it doesn't start the scripts on reboot.
Read a couple of times that people were using Upstart to make the initial launch of forever, but i've never used it myself, never had the need to start on boot.
Solution 2:
This is the one of the job of initd
or upstart
. May be you can use inetd
too if it is ok to start it on demand.