❦ 9 juin 2014 19:46 +0300, Apollon Oikonomopoulos <[email protected]> :
> 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)
signature.asc
Description: PGP signature

