1
0
mirror of https://github.com/ceph/ceph synced 2024-12-24 20:33:27 +00:00
ceph/debian/radosgw.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
260 B
Bash

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