On Mon, Nov 9, 2015 at 10:50 AM, Vincent Bernat <ber...@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.

Reply via email to