Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-23 Thread Dieter Maurer
Jim Fulton wrote at 2006-12-22 15:55 -0500: Thoughts? We are using zdaemon widely and would be sad to loose it. The underdocumented argument is unjustified in my view: * zdaemon comes with reasonable online documentation (the help command) * like for all zconfig based

[Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Yesterday I started working on some updates to zdaemon. zdaemon is pretty cool. It is a Unix-only tool that: - Turns an arbitrary program into a fairly well-behaved daemon - Provides management of an applications output as a log file. - Provides start, stop and restart commands for starting

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 21:55 schrieb Jim Fulton: Does anyone know of something that does what zdaemon does?  daemontools seems somewhat close:    http://cr.yp.to/daemontools.html Going from the documentation, it doesn't seem to be as clever about application restart.  The

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Sascha Ottolski wrote: Am Freitag, 22. Dezember 2006 21:55 schrieb Jim Fulton: Does anyone know of something that does what zdaemon does? daemontools seems somewhat close: http://cr.yp.to/daemontools.html Going from the documentation, it doesn't seem to be as clever about application

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
On Fri, Dec 22, 2006 at 05:04:37PM -0500, Jim Fulton wrote: Sascha Ottolski wrote: And the python coded Supervisor2 made by Chris McDonough http://www.plope.com/software/supervisor2/ This is interesting. We've been using supervisor (previous version) for all our zope applications for a

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 23:04 schrieb Jim Fulton: An abnormal exit is an exit due to some error, such as a segmentation fault or running out of memory. in the sense, how would the supervisor know thats it's abnormal? It can check the exit status. Normal shutdowns typycally exit

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 23:23 schrieb Paul Winkler: On Fri, Dec 22, 2006 at 05:04:37PM -0500, Jim Fulton wrote: Sascha Ottolski wrote: And the python coded Supervisor2 made by Chris McDonough http://www.plope.com/software/supervisor2/ This is interesting. We've been using

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Sascha Ottolski wrote: Am Freitag, 22. Dezember 2006 23:04 schrieb Jim Fulton: An abnormal exit is an exit due to some error, such as a segmentation fault or running out of memory. in the sense, how would the supervisor know thats it's abnormal? It can check the exit status. Normal

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
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