]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: Also accept SIGHUP/SIGTERM in systemd-wrapper
authorMatt Robenolt <matt@ydekproductions.com>
Thu, 11 Sep 2014 05:19:30 +0000 (05:19 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Sep 2014 05:30:38 +0000 (07:30 +0200)
commitc54bdd2a118161b4dc36963b4201edfa7341dadb
treef7fdb3174e87ae42e21671fd8e1609070d39f911
parent08afdcb47bc39c071787f8fc2066776e1c5e8607
MINOR: Also accept SIGHUP/SIGTERM in systemd-wrapper

My proposal is to let haproxy-systemd-wrapper also accept normal
SIGHUP/SIGTERM signals to play nicely with other process managers
besides just systemd. In my use case, this will be for using with
runit which has to ability to change the signal used for a
"reload" or "stop" command. It also might be worth renaming this
bin to just haproxy-wrapper or something of that sort to separate
itself away from systemd. But that's a different discussion. :)
src/haproxy-systemd-wrapper.c