mirror of
https://github.com/ceph/ceph
synced 2024-12-22 11:31:55 +00:00
0cdf3bc875
This matches ceph-mds-all and ceph-all behavior. Fixes: http://tracker.ceph.com/issues/15098 Signed-off-by: Sage Weil <sage@redhat.com>
24 lines
262 B
Bash
24 lines
262 B
Bash
#!/bin/sh
|
|
# vim: set noet ts=8:
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove)
|
|
[ -x /sbin/stop ] && stop ceph-mon-all || true
|
|
invoke-rc.d ceph stop mon || {
|
|
RESULT=$?
|
|
if [ $RESULT != 100 ]; then
|
|
exit $RESULT
|
|
fi
|
|
}
|
|
;;
|
|
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|