in reply to Perl Daemons and SIGHUP
(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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Daemons and SIGHUP
by explodec14 (Novice) on Feb 24, 2010 at 12:58 UTC | |
by moritz (Cardinal) on Feb 24, 2010 at 13:09 UTC | |
by explodec14 (Novice) on Feb 24, 2010 at 13:19 UTC | |
by mje (Curate) on Feb 24, 2010 at 13:33 UTC | |
by explodec14 (Novice) on Feb 24, 2010 at 14:08 UTC | |
|