YapDi icon indicating copy to clipboard operation
YapDi copied to clipboard

Change status function to check cmdline of the pid...

Open RedKrieg opened this issue 14 years ago • 0 comments

...referenced in the pidfile, removing the pidfile if cmdline doesn't match the calling script name. This change resolves problems with a stale pid after reboot, as well as a pid file pointing to another process's pid. Should work as long as sys.argv[0].split('/')[-1] doesn't change after execution. I needed this to resolve problems when issuing a 'start' after reboot.

RedKrieg avatar Dec 17 '11 02:12 RedKrieg