Use "and" & "or"<br><br><div> start on started foo or started bar</div><div><br></div><div>Scott</div><div><br><div class="gmail_quote">On Thu, Dec 9, 2010 at 9:17 PM, Yang Zhang <span dir="ltr"><<a href="mailto:yanghatespam@gmail.com">yanghatespam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, the Getting Started documentation says:<br>
<br>
"You list the events you want to start your job with start on, and the<br>
events that stop your job with stop on."<br>
<br>
This makes it sound like you just specify "start on" multiple times,<br>
once per event that you want to trigger starting this job.<br>
<br>
However, experimenting with upstart on Ubuntu 10.04 (upstart 0.6.5?),<br>
it seems to only respect the last "start on" stanza. E.g., if I have:<br>
<br>
start on started foo<br>
start on runlevel [2345]<br>
<br>
Then after reload-configuration and start foo, the above job doesn't start.<br>
<br>
How do I make a job start on any of multiple events?<br>
--<br>
Yang Zhang<br>
<a href="http://yz.mit.edu/" target="_blank">http://yz.mit.edu/</a><br>
<font color="#888888"><br>
--<br>
upstart-devel mailing list<br>
<a href="mailto:upstart-devel@lists.ubuntu.com">upstart-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/upstart-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/upstart-devel</a><br>
</font></blockquote></div><br></div>