On Fri, Feb 13, 2009 at 10:46 AM, Scott James Remnant <sc...@netsplit.com> wrote: > On Fri, 2009-02-13 at 10:30 -0800, Garrett Cooper wrote: > >> On Fri, Feb 13, 2009 at 10:23 AM, Scott James Remnant >> <sc...@netsplit.com> wrote: >> > On Thu, 2009-02-12 at 16:23 -0800, Garrett Cooper wrote: >> > >> >> I found this gem while producing tests for upstart, and I'm >> >> wondering whether or not this is a bug that should be filed: >> >> >> >> [comet-k5-12:/etc/init/jobs.d]$ cat foo+ >> >> stop on halloween / duwali >> >> [comet-k5-12:/etc/init/jobs.d]$ start foo+ >> >> [comet-k5-12:/etc/init/jobs.d]$ start foo+ >> >> start: Unable to start job: Job is already running: foo+ >> >> >> > Could you point out which bit you think is the bug? >> > >> > Scott >> >> I question the fact that the parser completely ignores a malformed >> statement `halloween / duwali' after `stop on', because certain >> characters (like `/') can't be used to qualify upstart's simple >> English boolean statements :). >> > It's not malformed. > > You're matching the "halloween" event with the arguments "/" and > "duwali" > > Consider: > > start on path-mounted /
How are those arguments fed back from the event? Or is it a feature that's not available yet? I'm confuzzled because I didn't see it in the documentation :P. -Garrett -- upstart-devel mailing list upstart-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel