HAProxy Enterprise Documentation 2.2r1
Delete all entries from a Map file.
A Map file contains a list of key-value pairs. You can reference the file on an
acl line by using the
-f /path/to/file flags. Use
clear map to remove all entries from a Map file. Note that this only removes them from HAProxy Enterprise's runtime memory and not from the file on disk.
In this example, we delete all entries from the Map file
$ echo "clear map /etc/hapee-2.2/maps/hosts.map" | \ sudo socat stdio unix-connect:/var/run/hapee-2.2/hapee-lb.sock
Next upclear table