HAProxy Enterprise Documentation 2.6r1

Start with split configuration files

If your configuration is split into several specific files (eg: tcp vs http), we recommend that you edit the service to load a directory rather than a single file. For example, place all of your .cfg files into the /etc/hapee-2.6 directory. Then, edit the file /lib/systemd/system/hapee-2.6-lb.service. Change the CONFIG parameter in the Environment field to point to the directory:

[Service]
Environment="CONFIG=/etc/hapee-2.6" "PIDFILE=/run/hapee-2.6-lb.pid"

Call systemctl daemon-reload and then restart the service:

$ sudo systemctl daemon-reload
$ sudo systemctl restart hapee-2.6-lb

Next up

Enable/Disable Servers