Multiple "start on" stanzas, dependencies
Scott James Remnant
scott at netsplit.com
Thu Dec 9 21:18:53 GMT 2010
Use "and" & "or"
start on started foo or started bar
On Thu, Dec 9, 2010 at 9:17 PM, Yang Zhang <yanghatespam at gmail.com> wrote:
> 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 
> 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
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the upstart-devel