On Fri, Dec 22, 2006 at 11:38:33PM +0100, Sascha Ottolski wrote:
> > At my previous job, we used daemontools, which was OK, except we never
> > found a solution to the problem of "I want to get email notifications
> > when the system is restarting unexpectedly, but I don't want my mail
> > to get a DOS attack when the system can't start successfully so it
> > keeps restarting forever".
> hmm, what about:
> let the run script touch or write some status file; the very same script 
> would 
> send an email on a "normal" restart, but may stop to do so if the status file 
> is to new. hmm, thinking further, the script could even delay or block the 
> restart, if desired. i guess the "run" script could also be written in 
> python.

Sure, but it's such a common need that ideally I'd like that to be
taken care of for me :-)

supervisor normally gives up after some number of restart attempts,
which is fine with me.


Paul Winkler
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to