On Thu, 2009-06-18 at 00:06 +0200, Matthias Urlichs wrote:

> Casey Dahlin:
> > The way its worded in my example the check would happen 1 minute after  
> > startup, and never again.
> 
> Alternately you could trigger it on "system_normal is in state 'stopped'
> for more than 1 minute" (which can't be specified yet IIRC, but that
> should be fixable), on the theory that a reboot or restart shouldn't
> take that long (you don't want a barrage of state emails every time you
> restart things when upgrading, for instance).
> 
Actually, that can be specified ;)

  while not system_normal
  after 1 minute

  exec ...

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
upstart-devel mailing list
upstart-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to