You'll need an upstart script in your /etc/init/ directory. Name it with your app's name, ending in .conf, such as /etc/init/myapp.conf. The basic upstart script looks something like this:
## /etc/init/myapp.conf
description "myapp.mydomain.com"
author "
[email protected]"...