commit | 5b5ea9c93384da49eea0f67ebed0966d4167b17a | [log] [tgz] |
---|---|---|
author | Conrad Hoffmann <conrad@soundcloud.com> | Mon Jul 28 23:52:20 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 29 11:05:01 2014 +0200 |
tree | 24617ac18661dfa5753c38832621807b2ab45c8b | |
parent | eb2cf45b72a7e14c581276247381dc1ac76be2c0 [diff] |
MEDIUM: Improve signal handling in systemd wrapper. Move all code out of the signal handlers, since this is potentially dangerous. To make sure the signal handlers behave as expected, use sigaction() instead of signal(). That also obsoletes messing with the signal mask after restart. Signed-off-by: Conrad Hoffmann <conrad@soundcloud.com>