Follow these steps to uninstall HAProxy Enterprise from a BSD system.
Remove HAProxy Enterprise
Stop HAProxy Enterprise.
$ sudo service hapee_17_lb onestop
Back up your configuration files.
The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.
The following command will copy the contents of /etc/hapee-1.7 to a time-stamped directory in /tmp:
$ cp -r /etc/hapee-1.7 /tmp/hapee-1.7-lb.backup.$(date +%F_%R)
Query to see your installed packages.
$ sudo pkg info hapee* hapee-1.7r1-lb-188.8.131.52.0
Remove all HAProxy Enterprise 1.7 packages.
$ sudo pkg remove hapee-* Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: hapee-1.7r1-lb: 184.108.40.206.0 Number of packages to be removed: 1 The operation will free 5 MiB. Proceed with deinstalling packages? [y/N]: y