summaryrefslogtreecommitdiffstats
path: root/debian/haproxy.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/haproxy.postrm')
-rw-r--r--debian/haproxy.postrm16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/haproxy.postrm b/debian/haproxy.postrm
new file mode 100644
index 0000000..5e41016
--- /dev/null
+++ b/debian/haproxy.postrm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ purge)
+ deluser --system haproxy || true
+ delgroup --system haproxy || true
+ ;;
+ *)
+ ;;
+esac
+
+exit 0