tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pidfile_lock(3)

On 20/03/2016 18:53, James K. Lowden wrote:
> The biggest problem with pidfiles IMO is stale files left over when the
> process terminates abnormally.  That could be remedied with a separate
> daemon, modelled on syslogd, that would create, update and delete
> them.  Modify pidfile(3) to use the daemon, and you solve all three
> problems.  

So I created pidfiled(8) here: (rc.d script)

And patched pidfile(3) to *optionally* use it here:

Constructive thoughts and comments welcome.


Home | Main Index | Thread Index | Old Index