I indeed have a sample of haproxy not being restarted even though the configuration is changed:
$ ps axu | grep haproxy root 19997 0.0 0.0 4228 652 ? Ss 13:49 0:00 /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid haproxy 20001 0.0 0.3 37692 5000 ? S 13:49 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds haproxy 20003 0.0 0.0 37692 936 ? Ss 13:49 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds
$ ls -l /etc/haproxy/haproxy.cfg -rw-r--r-- 1 root root 1224 Jan 11 13:59 haproxy.cfg
As you say, after some time it solves itself, but not always.
I indeed have a sample of haproxy not being restarted even though the configuration is changed:
$ ps axu | grep haproxy haproxy- systemd- wrapper -f /etc/haproxy/ haproxy. cfg -p /run/haproxy.pid haproxy. cfg -p /run/haproxy.pid -Ds haproxy. cfg -p /run/haproxy.pid -Ds
root 19997 0.0 0.0 4228 652 ? Ss 13:49 0:00 /usr/sbin/
haproxy 20001 0.0 0.3 37692 5000 ? S 13:49 0:00 /usr/sbin/haproxy -f /etc/haproxy/
haproxy 20003 0.0 0.0 37692 936 ? Ss 13:49 0:00 /usr/sbin/haproxy -f /etc/haproxy/
$ ls -l /etc/haproxy/ haproxy. cfg
-rw-r--r-- 1 root root 1224 Jan 11 13:59 haproxy.cfg
As you say, after some time it solves itself, but not always.