[Pkg-haproxy-maintainers] Bug#750459: Improvement: initscript enhancement with support for conf.d and configtest on startup
Apollon Oikonomopoulos
apoikos at debian.org
Wed Jul 2 09:03:42 UTC 2014
Hello David,
On 16:39 Tue 03 Jun , David Gabriel wrote:
> Source: haproxy
> Version: 1.4.25
> Severity: wishlist
>
> Dear Maintainer,
>
> * What led up to the situation?
> not satisfied with the functionality of the current init script.
> ubuntu package maintainer redirected me to debian packagers as ubuntu package is identical with debian package
>
> The haproxy initscript misses a configtest option, which haproxy natively supports. It also does not warn the user, if haproxy has been disabled in the default file, but exits silently.
> Also, it has become a de-facto standard for daemons to include conf.d configuration file support.
> I attached a patch for the current init script, which remedies all these issues and should be forward/backward compatible to haproxy 1.3/1.4/1.5.
In 1.5.0 we added the config test to the initscript and also made
systemd error reporting more robust.
We also deprecated the START flag, since it's no more of any real use.
However, we did not implement the conf.d directory, mostly because it is
not very straightforward to do so in systemd (it needs a separate unit
file that will construct an additional environment file that will be fed
to systemd). We could further investigate this if you still need it, or
close this bug otherwise.
Regards,
Apollon
More information about the Pkg-haproxy-maintainers
mailing list