What is the proper way to reload haproxy 2.9.7 on Ubuntu 24.04 to apply config changes while also having the reload be seamless/hitless?
I’m a little unsure if info that I read about older versions of HAProxy apply in the same way to version 2.9. For example, the “expose-fd listeners” config setting on the global stats line, I read that has something to do with seamless reloads. However, that config setting is not in the default 2.9.7 haproxy.cfg file. So maybe this is a depreciated setting?
In case it makes any difference, I installed HAProxy using the instructions at HAProxy packages for Debian and Ubuntu
The commands to restart or reload that I’m aware of are:
systemctl restart haproxy
systemctl reload haproxy
service haproxy restart
service haproxy reload
I’m thinking “systemctl reload haproxy” is the proper way to reload config changes gracefully, with seamless / hitless reloads. Is that correct?