As a crappy sort of hack you could use screen and then detach. That's in the background, but not as clean as a daemon. Scott -----Original Message----- From: Dunigan, Craig [mailto:craig.dunigan@esker.com] Sent: Friday, June 29, 2001 1:40 PM To: 'Jerome Alet' Cc: zope@zope.org Subject: RE: [Zope] Perl daemon to restart hung Zope on RedHat
I don't use it since Zope 2.1.6, because I've not experienced any hang since this date. However I've just looked at the code and I can't see anything which would prevent it from being run in the background:
isdazope.py [options] &
I don't know how to really daemonize it, though.
bye,
Jerome Alet
As I'm sure you know, but for the benefit of others who might not, backgrounding it still needs an open console to run, and that is what I wanted to avoid. Oh well, maybe someone who knows about making a Python daemon could step in at this point and save us? Craig _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )