summaryrefslogtreecommitdiffstats
path: root/debian/ceph-mgr.prerm
blob: 6fb7b245a78e25f0cc7fe68d6785b6e4a3893ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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