Multiple "start on" stanzas, dependencies
Yang Zhang
yanghatespam at gmail.com
Thu Dec 9 21:17:06 GMT 2010
Hi, the Getting Started documentation says:
"You list the events you want to start your job with start on, and the
events that stop your job with stop on."
This makes it sound like you just specify "start on" multiple times,
once per event that you want to trigger starting this job.
However, experimenting with upstart on Ubuntu 10.04 (upstart 0.6.5?),
it seems to only respect the last "start on" stanza. E.g., if I have:
start on started foo
start on runlevel [2345]
Then after reload-configuration and start foo, the above job doesn't start.
How do I make a job start on any of multiple events?
--
Yang Zhang
http://yz.mit.edu/
More information about the upstart-devel
mailing list