Re: PEP 3143: Standard daemon process library (was: Writing a well-behaved daemon)

2009-03-20 Thread Floris Bruynooghe
On Mar 20, 9:58 am, Ben Finney wrote: > Ben Finney writes: > > Writing a Python program to become a Unix daemon is relatively > > well-documented: there's a recipe for detaching the process and > > running in its own process group. However, there's much more to a > > Unix daemon than simply detac

Re: PEP 3143: Standard daemon process library (was: Writing a well-behaved daemon)

2009-03-20 Thread Jean-Paul Calderone
On Fri, 20 Mar 2009 20:58:58 +1100, Ben Finney wrote: Ben Finney writes: Writing a Python program to become a Unix daemon is relatively well-documented: there's a recipe for detaching the process and running in its own process group. However, there's much more to a Unix daemon than simply de

PEP 3143: Standard daemon process library (was: Writing a well-behaved daemon)

2009-03-20 Thread Ben Finney
Ben Finney writes: > Writing a Python program to become a Unix daemon is relatively > well-documented: there's a recipe for detaching the process and > running in its own process group. However, there's much more to a > Unix daemon than simply detaching. […] > My searches for such functionality

Re: Writing a well-behaved daemon

2008-09-26 Thread Sean DiZazzo
On Sep 26, 12:13 am, Ben Finney <[EMAIL PROTECTED]> wrote: > Sean DiZazzo <[EMAIL PROTECTED]> writes: > > Looks like somebody did the same thing I did and posted it. > > >http://svn.plone.org/svn/collective/bda.daemon/trunk/bda/daemon/daemo... > > Thanks, I've not seen that before. > > It still see

Re: Writing a well-behaved daemon

2008-09-26 Thread Ben Finney
Sean DiZazzo <[EMAIL PROTECTED]> writes: > Looks like somebody did the same thing I did and posted it. > > http://svn.plone.org/svn/collective/bda.daemon/trunk/bda/daemon/daemon.py Thanks, I've not seen that before. It still seems loony to me that something this difficult to do right, yet so si

Re: Writing a well-behaved daemon

2008-09-25 Thread Sean DiZazzo
On Sep 25, 10:08 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Howdy all, > > Writing a Python program to become a Unix daemon is relatively > well-documented: there's a recipe for detaching the process and > running in its own process group. However, there's much more to a Unix > daemon than simply

Writing a well-behaved daemon

2008-09-25 Thread Ben Finney
Howdy all, Writing a Python program to become a Unix daemon is relatively well-documented: there's a recipe for detaching the process and running in its own process group. However, there's much more to a Unix daemon than simply detaching. At a minimum, a well-behaved Unix daemon must at least: *