commit | a3aa9e6840fa0bc7a74f3cab7400dcb33ad4537a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Feb 27 08:26:14 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Feb 27 08:28:43 2016 +0100 |
tree | 6a0cf949e6ea9f519f0dfd6b0245e5b1940cc0d8 | |
parent | 6c2f7955e7300fb2cf0596fa5210cdeb3a2aea5f [diff] |
MINOR: systemd: ensure a reload doesn't mask a stop If a SIGHUP/SIGUSR2 is sent immediately after a SIGTERM/SIGINT and before wait() is notified, it will mask it since there's no queue, only a copy of the last received signal. Let's add a special check before overwriting the signal so that SIGTERM/SIGINT are not masked.