v2.4.19
The released deb packages can only work on Ubuntu 20.04, Debian 11, or later OSs.
For a more compatible release, see https://github.com/cbdb-project/haproxy_static/releases.
It is recommended to initiate a Systemd drop-in file for the haproxy that supports the sdnotify features of systemd, just issue command:
mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"
For the haproxy that DOES NOT support the sdnotify features of systemd, issue command:
mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nExecStart=\nExecStart=/usr/local/sbin/haproxy -W -f $CONFIG -p $PIDFILE $EXTRAOPTS\nType=\nType=forking\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"