Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Daemon::Control pid-files

by ikegami (Patriarch)
on Apr 17, 2016 at 03:46 UTC ( [id://1160691]=note: print w/replies, xml ) Need Help??


in reply to Daemon::Control pid-files

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1160691]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-18 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found