in reply to Re: Detecting stale pid file under *nix
in thread Detecting stale pid file under *nix

Daemon is really a PSGI application, so the exe is doing to point to Perl interpreter and modification of daemon itself is possible, but undesired. I'd rather complicate my init script...

  • Comment on Re^2: Detecting stale pid file under *nix

Replies are listed 'Best First'.
Re^3: Detecting stale pid file under *nix
by andal (Hermit) on Oct 26, 2016 at 07:14 UTC

    Then check command line. Even if it is perl, the command line still contains name of the script and parameters.