The stupid question is the question not asked | |
PerlMonks |
Re: Daemon::Control pid-filesby ikegami (Patriarch) |
on Apr 17, 2016 at 03:46 UTC ( [id://1160691]=note: print w/replies, xml ) | Need Help?? |
If you stop the daemon normally (i.e. using the control script), then the control script *does* delete the PID file. If the daemon stops prematurely (e.g. on its own or killed by a signal), then the control script can't possibly delete the PID file because it's not running. By the way, why do you pass the value returned by run to exit? run doesn't ever return!
In Section
Seekers of Perl Wisdom
|
|