mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
042b6b4454
...at least, try to! This is a copy-paste of the ceph-mds packaging with a search and replace mds to mgr. Signed-off-by: John Spray <john.spray@redhat.com>
24 lines
259 B
Bash
24 lines
259 B
Bash
#!/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
|