[Pkg-haproxy-maintainers] systemd support for haproxy

Wasif Riaz Malik wmalik.ml at gmail.com
Fri Apr 18 16:24:55 UTC 2014

On 04/08, Apollon Oikonomopoulos wrote:
> Hi Wasif,
> On 21:47 Tue 08 Apr     , Wasif Malik wrote:
> > Hi,
> > 
> > I would like to add systemd support for haproxy (for jessie). Would that be
> > ok?
> There is already systemd support in haproxy 1.5 in experimental. We are 
> waiting for the official release of 1.5 to upload it to unstable, which 
> means that jessie will have haproxy 1.5 with systemd support. Still, 
> please have a look at the package in experimental and feel free to 
> suggest any improvements.

The haproxy.cfg file seems to be missing a listen section, due to
which haproxy is unable to start after the package is installed. The status of
haproxy in systemd becomes "failed (Result: start-limit)" because the service
file is configured to always restart it. I don't know if this is acceptable
behaviour but its something that I noticed.

If this is undesired behaviour, it can be fixed either by having a listen
section in haproxy.cfg, or by not attempting to start haproxy after install.

Please do let me know if I can help with doing changes (or testing).

> Thanks,
> Apollon


More information about the Pkg-haproxy-maintainers mailing list