HAProxy Config – How to Reload on CentOS with Minimal Downtime?

centoshaproxy

When I change haproxy.cfg, currently I am "applying" those changes by running this command on CentOS:

systemctl restart haproxy

Is there a better way to do this on CentOS that does not involve downtime, or minimum downtime (or connection resets)?

Best Answer

Use reload instead.

systemctl reload haproxy