Hi Brane,

Le mardi 14 décembre 2010 20:30:06, Brane F. Gračnar a écrit :
> Hello :)
> 
> This patch (applies to 1.5-dev3) adds "include" configuration statement to
> haproxy configuration parser. I wrote this patch becouse my haproxy
> configuration became too big to be simply maintainable and becouse i really
> like "conf.d" configuration style.

I don't know if you saw that but you can already have a "conf.d" configuration 
style in haproxy without any modification of code : haproxy accepts several "-
f" parameters.

As an example, find in attachment an init script we use on debian, based on 
the original script provided in the debian package with a few lines modified 
to recursively find .cfg files in the conf.d directory (maybe it's not the 
last version but here is the idea).

-- 
Cyril Bonté

Attachment: haproxy.debian-multi.init
Description: application/shellscript

Reply via email to