[Pkg-haproxy-maintainers] Bug#804530: Bug#804530: haproxy: Ensure stop action works on pre-systemd versions of Debian (and Ubuntu)
James Page
james.page at ubuntu.com
Mon Nov 9 10:42:34 UTC 2015
Hi Vincent
On Mon, Nov 9, 2015 at 10:32 AM, Vincent Bernat <bernat at debian.org> wrote:
> ❦ 9 novembre 2015 09:47 GMT, James Page <james.page at ubuntu.com> :
>
> > In Ubuntu, the attached patch was applied to achieve the following:
> >
> > [ Jorge Niedbalski ]
> > * debian/haproxy.init:
> > + Pass the pidfile to the --pidfile argument instead of the PID
> > number, easing backports to pre-systemd versions of Ubuntu
> > and Debian (LP: #1477198).
> >
> > On older Ubuntu versions (pre systemd), the stop action was not
> > working correctly in the init script; this patch resolves that issue.
>
> I don't think this is compatible with multiple HAProxy processes
> (nbproc > 1). See how we do that when start-stop-daemon doesn't
> support --pid:
>
Hmm - so start-stop-daemon will generate multiple pids into the pidfile
when nbproc > 1?
If so I agree that the patch is incomplete (and also broken in Ubuntu 14.04
right now).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20151109/b3f855c8/attachment.html>
More information about the Pkg-haproxy-maintainers
mailing list