<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 9, 2015 at 10:50 AM, Vincent Bernat <span dir="ltr"><<a href="mailto:bernat@debian.org" target="_blank">bernat@debian.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
><br>
>     I don't think this is compatible with multiple HAProxy processes<br>
>     (nbproc > 1). See how we do that when start-stop-daemon doesn't<br>
>     support --pid:<br>
><br>
><br>
> Hmm - so start-stop-daemon will generate multiple pids into the<br>
> pidfile when nbproc > 1?<br>
<br>
</span>No, haproxy will write multiple PID to the pidfile when nbproc > 1 (in<br>
haproxy.cfg). I don't think that start-stop-daemon is able to handle<br>
multiple PID in pidfile, hence the loop.<br></blockquote><div><br></div><div>Right - I see; I guess the benefit of using start-stop-daemon is that it will only kill haproxy processes, whereas the kill loop is indiscriminate.</div><div> </div></div></div></div>