If we are to follow Apache httpd, it will warn you that a PID file exists. I have also seen Tomcat fail to start because of a stale PID.
so take your pick On Thu, May 29, 2014 at 9:07 AM, <[email protected]> wrote: > On 28/May/2014 at 19:18:41 -0400, Brian Wilkins wrote: >> Stunnel should remove it on abnormal exit. It's customary. See here >> http://stackoverflow.com/questions/688343/reference-for-proper-handling-of-pid-file-on-unix > > As I described in my previous message, the problem is that stunnel > does not remove pidfile on *normal* exit if it received HUP signal. > > Thanks for the link. You are probably right, removing pidfile on exit > (if daemon has write access for /var/run) is a good convention. > But ignoring the existing pidfile on statup is rather unusual. > Discussion on the link tends to the point that there is no canonical > way for handling pidfiles. So on the daemon level it would be > desirable if this were as simple as possible. _______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
