summaryrefslogtreecommitdiffstats
path: root/debian/radosgw.prerm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/radosgw.prerm22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/radosgw.prerm b/debian/radosgw.prerm
new file mode 100644
index 00000000..0288ab77
--- /dev/null
+++ b/debian/radosgw.prerm
@@ -0,0 +1,22 @@
+#!/bin/sh
+# vim: set noet ts=8:
+
+set -e
+
+case "$1" in
+ remove)
+ invoke-rc.d radosgw stop || {
+ RESULT=$?
+ if [ $RESULT != 100 ]; then
+ exit $RESULT
+ fi
+ }
+ ;;
+
+ *)
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0