summaryrefslogtreecommitdiffstats
path: root/debian/ceph-base.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:32 +0000
commitf74e6db80b939425b3076bdd1d01624819384e32 (patch)
treeac4ac13d5be92c44e9b58a475941bd79d3a4e4a2 /debian/ceph-base.prerm
parentAdding upstream version 18.2.2. (diff)
downloadceph-f74e6db80b939425b3076bdd1d01624819384e32.tar.xz
ceph-f74e6db80b939425b3076bdd1d01624819384e32.zip
Adding debian version 18.2.2-1.debian/18.2.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/ceph-base.prerm')
-rw-r--r--debian/ceph-base.prerm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/ceph-base.prerm b/debian/ceph-base.prerm
new file mode 100644
index 000000000..bfd7d3d6f
--- /dev/null
+++ b/debian/ceph-base.prerm
@@ -0,0 +1,23 @@
+#!/bin/sh
+# vim: set noet ts=8:
+
+set -e
+
+case "$1" in
+ remove)
+ [ -x /sbin/stop ] && stop ceph-all || true
+ invoke-rc.d ceph stop || {
+ RESULT=$?
+ if [ $RESULT != 100 ]; then
+ exit $RESULT
+ fi
+ }
+ ;;
+
+ *)
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0