DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31614>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31614 Patch to make jsvc delete pid file on daemon exit Summary: Patch to make jsvc delete pid file on daemon exit Product: Commons Version: 1.0 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Daemon AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The attached patch updates jsvc to cause it to delete the pid file on exit of the daemon process. This greatly eases and strengthens checking of whether the daemon process is still alive. Because the daemon has dropped priviledges by the time it wants to exit, it is no longer able, itself, to delete the pid file as it's likely lost priviledges to the pid location. I moved creation/deleting of the pid file to the controller process: the controller creates the pid file when the child is forked, and deletes it when the child terminates. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]