Uninstallation

Uninstall HAProxy Enterprise on BSD

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

  1. Stop HAProxy Enterprise.

    nix
    sudo systemctl stop hapee-<VERSION>-lb
    nix
    sudo systemctl stop hapee-<VERSION>-lb

    For example, to stop HAProxy Enterprise 2.9r1:

    nix
    sudo service hapee_29_lb onestop
    nix
    sudo service hapee_29_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.9 to a time-stamped directory in /tmp:

    nix
    cp -r /etc/hapee-2.9 /tmp/hapee-2.9-lb.backup.$(date +%F_%R)
    nix
    cp -r /etc/hapee-2.9 /tmp/hapee-2.9-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.9r1-lb-1.0.0.237.0
    output
    text
    hapee-2.9r1-lb-1.0.0.237.0
  4. Remove all HAProxy Enterprise 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.9r1-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.9r1-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?