Re: I need some advice on Bug #153070
In article <[🔎] 20050611013222.GD19808@miami.familiasanchez.net> you wrote:
> the pid file exists and the program is already running, it sends a
> SIGUSR1 and exits with status 1.
This is the normal way you do pid file locking, beside you use kill(pid, 0)
instead of usr1. More advanced code will check the inode of the binary or
something, however this has some other disadvantages (on upgrade).
> It is obvious that the way the program is behaving the bug report is
> they it is programmed to behave. I would like to know if there is a
> better way to handle this.
If you want to keep USR1 then you have to ignore it.