tgummels has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I have a daemon program that is using the signal handling feature of the Event module to catch TERM and HUP. When the daemon catches the HUP signal its supposed to unloop re-read the config file and start the loop. I'm looking for suggestions as to how I can return a status to the caller so it knows the daemon actually did a refresh. I was thinking about named pipes or unix sockets or having the calling program tail a log file and grep for status. Any suggestions would be greatly appreciated. Thanks Travis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I get status from daemon
by Zaxo (Archbishop) on Nov 06, 2001 at 19:33 UTC | |
by Fletch (Bishop) on Nov 06, 2001 at 20:11 UTC | |
|
Re: How do I get status from daemon
by traveler (Parson) on Nov 06, 2001 at 21:07 UTC |