Node.js services with sysvinit and Monit

Running node services in production environments requires some consideration on how to start/stop the service, how to monitor it and how to keep it running (i.e. restart it if it crashes).

This is a simple example how to do this using sysvinit (init.d script, e.g. used in Debian environments) and the great Monit utility.