ceph/debian/ceph-mon.prerm
Kefu Chai 08fcf91bd5 debian: do not use upstart to start/stop services
we dropped the support of upstart back in 2c755cef. there is no need
to support it anymore.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2024-02-04 00:19:38 +08:00

23 lines
214 B
Bash

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