https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5950





--- Comment #7 from Justin Mason <[EMAIL PROTECTED]>  2008-08-05 05:22:45 PST 
---
(In reply to comment #6)
> Would it make sense for the daemonize function to either add a SIGUSR1 handler
> to the parent or create a pipe, have the parent wait for a signal or something
> sent over the pipe from the child before it calls exit() and if the daemonize
> option is set have the child signal the parent (via kill or writing tothe 
> pipe)
> after it has written the pid to the log file?

yes, that would be the ideal fix -- and for that to abort waiting, if the child
itself exits.

> Perl experts, is there any problem with using a signal or a pipe in this case
> and is one better to use than the other?

in this setup, either would be fine; signal would be easiest I think.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to