Deploying node.js app using upstart
Water
|
04/27/2013
|

upstart is a new service manager that replacing old init.d in newer linux. In newer ubuntu, it is preinstalled. Otherwise you can installed in default package.

To deploy node.js app using upstart, create a script (e.g. node-your-app-name.conf) in /etc/init

description     "Your app description"
author "John Doe"

start on runlevel [2345]
stop on runlevel [!2345]
# setuid only avaiable after upst

Continue Reading