commit | a24f95df2eabbd9f1437c48c20c2087aa7137d91 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Feb 27 08:26:14 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 08 16:32:20 2016 +0100 |
tree | ebc57d64b85d5c064058d5a33681be44d7b3f442 | |
parent | 081753c4cba0c38cc56fba0cf1fb9e530fc02b3f [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. (cherry picked from commit a3aa9e6840fa0bc7a74f3cab7400dcb33ad4537a) (cherry picked from commit ba1a925522bfb18123ad307321c1563a8dfca877)