(a) Why is that ?
Because the default action for SIGHUP is to terminate the process
(b) What is the proper way to reload a daemon ?
As you've mentioned yourself on the chatterbox, exec is a possibility. As I've also told you on the chatterbox, installing a signal handler for SIGHUP and doing the exec in that handle might be a solution
(c) I have encountered in CPAN the package Daemon::Generic, which suggest somekind of solution, does anyonen know this package ?
Since three people have written reviews for it, I'd assume that at least 4 people know this package. Probably a lot more.
In reply to Re: Perl Daemons and SIGHUP
by moritz
in thread Perl Daemons and SIGHUP
by explodec14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |