> > and thus I had 2 "stop on" stanzas. 
> > Looks like the last one wins. :-) 
> > 
> This is one of Casey's pet peeves ;-)

If I may make a suggestion, putting an error/warning message in syslog 
when
it encounters an unexpected additional occurrence of a stanza would be
nice, even if it keeps on truckin'.

> You can do this like:
> 
>    start on startup or application-kickstart or application-restart
>    stop on application-unhealthy or application-restart
> 
> if an event is in BOTH start and stop, then it's an event that restarts
> it (Upstart processes stop first)
> 
>    initctl emit application-restart
 
Oooh, that's a neat trick! I may do just that.

Can you put that in the doc (ie, init.5)?

-- Marcel
-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to