I've added a line to the upstart template which stores the pid of the process created to /var/run/<%=name%>-<%=num%>.pid. This makes it more viable to monitor the upstart scripts created with a tool like Monit.
Write pid to /var/run/<%=name%>-<%=num%>.pid so that services like mo…
…nit can keep track of process.
Sorry about neglecting this pull request. I'm trying to go through and clean up. Would it be possible to rebase this against master and get the tests passing?
Closing for now. Thanks :)