On Thu, Jul 08, 2010 at 08:18:31PM +0200, Fabio M. Di Nitto wrote: > Do you have anything against atexit() handler? That's what we use in > cluster daemons to unlink the pid files. I can't think of any problems with that in the daemon context. Alasdair