ceph/debian/ceph-mds.prerm
Sage Weil cf9aa7a003 debian: guard upstart {start,stop} with -x check
Sigh.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-30 17:23:36 -07:00

24 lines
259 B
Bash

#!/bin/sh
# vim: set noet ts=8:
set -e
case "$1" in
remove)
[ -x /sbin/stop ] && stop ceph-mds-all || :
invoke-rc.d ceph stop mds || {
RESULT=$?
if [ $RESULT != 100 ]; then
exit $RESULT
fi
}
;;
*)
;;
esac
#DEBHELPER#
exit 0