Disconnected jobs
Daniel L. Miller
dmiller at amfes.com
Thu Aug 23 22:52:33 UTC 2012
Is there a method to:
1. Tell Upstart that a given process is an instance and should be
supervised? Example: I have a number of VirtualBox headless servers
that I start using simple Upstart scripts. I terminate the server
process - and I've told Upstart not to restart it in the script using
the normal exit clause. Now, I manually start the server process using
an external VirtualBox tool or webserver. The process is now running -
but Upstart doesn't know about it.
2. Trying to get supervision of a multiple forking daemon working can
be...difficult. In particular, I've been trying to get the current
version of ASSP supervised in its daemonized mode. It appears this perl
script forks at LEAST twice when doing so - and gives Upstart fits. It
works fine as a foreground non-forking script - which is how I run it
now. In the meantime, until I reboot my server, I have a process named
"assp" with a status of "stop/killed" - which I cannot release.
--
Daniel
More information about the upstart-devel
mailing list