aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consul/consul.post-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'testing/consul/consul.post-deinstall')
-rw-r--r--testing/consul/consul.post-deinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/consul/consul.post-deinstall b/testing/consul/consul.post-deinstall
new file mode 100644
index 0000000000..a4da5f3354
--- /dev/null
+++ b/testing/consul/consul.post-deinstall
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Delete consul group and user
+delgroup consul 2> /dev/null
+deluser consul 2> /dev/null
+exit 0
+