aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consul/consul.pre-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'testing/consul/consul.pre-deinstall')
-rw-r--r--testing/consul/consul.pre-deinstall6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/consul/consul.pre-deinstall b/testing/consul/consul.pre-deinstall
new file mode 100644
index 0000000000..e352a05546
--- /dev/null
+++ b/testing/consul/consul.pre-deinstall
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Stop consul service
+rc-service consul stop &> /dev/null
+exit 0
+