summaryrefslogtreecommitdiff
path: root/debian/bigcouch.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bigcouch.prerm')
-rw-r--r--debian/bigcouch.prerm12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/bigcouch.prerm b/debian/bigcouch.prerm
new file mode 100644
index 00000000..bcb054da
--- /dev/null
+++ b/debian/bigcouch.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+case $1 in
+ remove)
+ if test -d "/etc/service/bigcouch"; then
+ sv down bigcouch
+ rm -r -f /etc/service/bigcouch
+ fi
+ ;;
+esac
+
+#DEBHELPER#