ceph/debian/radosgw.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
213 B
Bash

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