[syslog-ng] cvs tree

Robert Loomans robertl@jinx.silas.unsw.edu.au
Wed, 9 Jun 1999 11:23:59 +1000


> parent:
> 	wait until term signal arrives
>
> child:
> 	initialize config
> 	send SIGTERM to parent

Maybe I'm missing something, but why don't you initialize the config
*before* forking? Then all the parent needs to do is exit.... (I assume you
set the parent's SIGCHLD handler to ignore and that the child removes itself
from the parent's process group.... though even that you can do before
forking.)

Cheers,
	Rob