Changed to support upstart for managing the node process.