Need clarification on possible bug with start on / stop on stanza logic
Garrett Cooper
yanegomi at gmail.com
Fri Feb 13 00:34:06 GMT 2009
On Thu, Feb 12, 2009 at 4:23 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> Hi Scott and other Upstart devs,
> 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+
>
> My thoughts are that characters like words (jobnames, event names,
> etc), (, ), spaces, and simple boolean operators (and, or) are valid,
> but other characters like '/' and invalid expressions should not be
> parsed.
> Comments welcome.
> Thanks,
> -Garrett
>
Oh yeah, the following job works too, even though it shouldn't (IMO):
# START JOB
stop on the fourth of july
# END JOB
This is upstart 0.5.0.
Thanks,
-Garrett
More information about the upstart-devel
mailing list