[Pkg-haproxy-maintainers] Bug#750459: Bug#750459: Bug#750459: Patch for haproy init script and link to the original launchpad bug report

Vincent Bernat bernat at debian.org
Sat Jan 16 07:59:57 UTC 2016


 ❦  9 juin 2014 19:46 +0300, Apollon Oikonomopoulos <apoikos at debian.org> :

> The conf.d directory can be supported indirectly, by using an 
> EnvironmentFile in systemd to specify a variable for the configuration.  
> A separate unit can then be used to dynamically generate the environment 
> file before haproxy is (re-)started. This unit need not be shipped by 
> us, it can be set up by the system administrator.

I have been told, with 1.6, this can now be done by setting EXTRAOPTS to
EXTRAOPTS="-- /etc/haproxy/conf.d/*.cfg" will do what is
required. Currently, the position of EXTRAOPTS in 1.6.3-1 forbids that,
but I just moved it to the right position for the next upload. This
could also be made a default.

However, I didn't test if it would work with systemd (I suppose that the
wildcard needs to be expanded and I think systemd won't).
-- 
Choose variable names that won't be confused.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20160116/5f3c5e13/attachment.sig>


More information about the Pkg-haproxy-maintainers mailing list