<div dir="ltr">Hi Vincent<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 10:32 AM, Vincent Bernat <span dir="ltr"><<a href="mailto:bernat@debian.org" target="_blank">bernat@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> ❦  9 novembre 2015 09:47 GMT, James Page <<a href="mailto:james.page@ubuntu.com">james.page@ubuntu.com</a>> :<br>
<br>
> In Ubuntu, the attached patch was applied to achieve the following:<br>
><br>
>   [ Jorge Niedbalski ]<br>
>   * debian/haproxy.init:<br>
>     + Pass the pidfile to the --pidfile argument instead of the PID<br>
>       number, easing backports to pre-systemd versions of Ubuntu<br>
>       and Debian (LP: #1477198).<br>
><br>
> On older Ubuntu versions (pre systemd), the stop action was not<br>
> working correctly in the init script; this patch resolves that issue.<br>
<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></blockquote><div><br></div><div>Hmm - so <span style="color:rgb(0,0,0);font-size:13.3333px">start-stop-daemon will generate multiple pids into the pidfile when nbproc > 1?</span></div><div><br></div><div>If so I agree that the patch is incomplete (and also broken in Ubuntu 14.04 right now).</div></div></div></div>