summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-03-11 17:09:37 -0700
committerSage Weil <sage@inktank.com>2013-05-02 09:25:04 -0700
commit209ce34a420cc5cdbe7219393f2f150ac28f612c (patch)
treef9de56bf5780615e4e89853fcc5041a1f747df16
parent0c91becfa6cc5f05c5b2eaa89299dbf1aa202344 (diff)
downloadceph-209ce34a420cc5cdbe7219393f2f150ac28f612c.tar.gz
debian: stop ceph-mds before uninstalling ceph-mds
Fixes: #4384 Signed-off-by: Sage Weil <sage@inktank.com> (cherry picked from commit 9eb0d91b867ab980135d7c6ff6347d69d0a8a794)
-rw-r--r--debian/ceph-mds.prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/ceph-mds.prerm b/debian/ceph-mds.prerm
new file mode 100644
index 00000000000..56d9e0128f1
--- /dev/null
+++ b/debian/ceph-mds.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+stop ceph-mds-all || :
+
+exit 0 \ No newline at end of file