On Wed 02 May 2007, Joe Maimon wrote:
Alan DeKok wrote:
Let's give up on HUP entirely. Instead, we can implement something like:
Thanks for all of the hard work you have been doing, Alan.
The decision is not mine, of course, but here is my vote.
-1
Proper support for HUP is in my view an elemental requirement of any properly functioning UNIX daemon.
If you feel its to complex to do it safely within the running code, you can do it like sendmail daemon does, which simply rexecs itself with its launching arguments. Sendmail doesnt support HUP if it wasnt started with a full path.
Yep. I vote for this solution as well in absence of anything more elegant. The system should do _something_ when it receives -HUP (other than crash). It this turns out to be a full restart, then so be it... Regards -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc