[Pkg-haproxy-maintainers] Bug#804530: Bug#804530: haproxy: Ensure stop action works on pre-systemd versions of Debian (and Ubuntu)
james.page at ubuntu.com
Mon Nov 9 10:57:02 UTC 2015
On Mon, Nov 9, 2015 at 10:50 AM, Vincent Bernat <bernat at debian.org> wrote:
> > 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?
> No, haproxy will write multiple PID to the pidfile when nbproc > 1 (in
> haproxy.cfg). I don't think that start-stop-daemon is able to handle
> multiple PID in pidfile, hence the loop.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-haproxy-maintainers