Uninstallation

Uninstall HAProxy Enterprise on BSD

Follow these steps to uninstall HAProxy Enterprise from a BSD system.

  1. Stop HAProxy Enterprise.

    nix
    sudo service hapee_28_lb onestop
    nix
    sudo service hapee_28_lb onestop
  2. 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-2.8 to a time-stamped directory in /tmp:

    nix
    cp -r /etc/hapee-2.8 /tmp/hapee-2.8-lb.backup.$(date +%F_%R)
    nix
    cp -r /etc/hapee-2.8 /tmp/hapee-2.8-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    nix
    sudo pkg info hapee*
    nix
    sudo pkg info hapee*
    output
    text
    hapee-2.8r1-lb-1.0.0.237.0
    output
    text
    hapee-2.8r1-lb-1.0.0.237.0
  4. Remove all HAProxy Enterprise 2.8 packages.

    nix
    sudo pkg remove hapee-*
    nix
    sudo pkg remove hapee-*
    output
    text
    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-2.8r1-lb: 1.0.0.237.0
    Number of packages to be removed: 1
    The operation will free 5 MiB.
    Proceed with deinstalling packages? [y/N]: y
    output
    text
    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-2.8r1-lb: 1.0.0.237.0
    Number of packages to be removed: 1
    The operation will free 5 MiB.
    Proceed with deinstalling packages? [y/N]: y

Do you have any suggestions on how we can improve the content of this page?