Hi Matt, On Thu, Sep 11, 2014 at 05:19:30AM +0000, Matt Robenolt wrote: > 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. :)
Thank you for this. I've got a recent report from someone who had to configure supervisord to use SIGINT instead of SIGTERM because of this. I agree that we should probably rename this wrapper. Another improvement would be to make it capable of only stripping "-wrapper" from its name to know what binary to call instead of searching the hardcoded "haproxy". This is handy for people running multiple versions on the same system. I've applied your patch to 1.6. Thanks, Willy