]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: unlink .oldbin PID file correctly
authorEric Wong <e@yhbt.net>
Sun, 22 Mar 2020 08:58:49 +0000 (08:58 +0000)
committerEric Wong <e@yhbt.net>
Tue, 24 Mar 2020 22:00:45 +0000 (22:00 +0000)
commitdecbb9936a25dfedf6ecd916d8e0403f06217ec9
treec6811d629f13e9688cb9f9e4667aa5abe920b9bb
parentd7fda3f4b9d4c9e6d01c818f09905d6827fa693f
daemon: unlink .oldbin PID file correctly

We need to track the PID file having ".oldbin" appended
to it while a SIGUSR2 upgrade is in progress and ensure
it is unlinked on SIGQUIT.
lib/PublicInbox/Daemon.pm
t/httpd-unix.t