diff options
Diffstat (limited to 'debian/ceph-mgr.prerm')
-rw-r--r-- | debian/ceph-mgr.prerm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/ceph-mgr.prerm b/debian/ceph-mgr.prerm new file mode 100644 index 000000000..6fb7b245a --- /dev/null +++ b/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 |