This is an example upstart script to start a node.js application.
Install the node application as sudo npm install -g github url or tarball
This file goes to /etc/init/my-node-service. To manually start the service use:
sudo service my-node-service start
To stop