X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdebian%2Fceph-mgr.prerm;fp=src%2Fceph%2Fdebian%2Fceph-mgr.prerm;h=6fb7b245a78e25f0cc7fe68d6785b6e4a3893ec3;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/debian/ceph-mgr.prerm b/src/ceph/debian/ceph-mgr.prerm new file mode 100644 index 0000000..6fb7b24 --- /dev/null +++ b/src/ceph/debian/ceph-mgr.prerm @@ -0,0 +1,23 @@ +#!/bin/sh +# vim: set noet ts=8: + +set -e + +case "$1" in + remove) + [ -x /sbin/stop ] && stop ceph-mgr-all || : + invoke-rc.d ceph stop mgr || { + RESULT=$? + if [ $RESULT != 100 ]; then + exit $RESULT + fi + } + ;; + + *) + ;; +esac + +#DEBHELPER# + +exit 0