I'd like to be able to use upstart to manage daemons where I don't have complete control over the forking behaviour. The "pid" stanza is removed as of version 0.3.9, so I can't point it at a pid file. What is the correct way to go about this? Do I have to write a wrapper script that issues SIGSTOP?
Read this section of the Upstart Cookbook very carefully: http://upstart.ubuntu.com/cookbook/#expect
In a nutshell, if your daemon forks once, use "