I tried some tests with hot reconfiguration command.

I modified my config file, then i ran this :

haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid)

Modifications were applied. But when i tried to reconfigure a second time my config file with my original configuration, haproxy returned this error message :

[ALERT] 046/114243 (3902) : starting frontend http: cannot bind socket

So, is it possible de refresh configuration file with this command without restarting haproxy ?

Thx !



Reply via email to