When running with systemD and using the "--" flag to include a config
directory, a -Ds flag is added automatically that breaks the functionality.

In haproxy.system:

ExecStart=/usr/sbin/haproxy-systemd-wrapper -p /run/haproxy.pid -f
/etc/haproxy/haproxy.cfg -- /etc/haproxy/config/

When starting the service:

haproxy-systemd-wrapper[10696]: haproxy-systemd-wrapper: executing
/usr/sbin/haproxy -p /run/haproxy.pid -f /etc/haproxy/haproxy.cfg --
/etc/haproxy/config/ -Ds

haproxy-systemd-wrapper[10696]: [ALERT] 355/133829 (10697) : Could not
open configuration file -Ds : No such file or directory

Reply via email to