diff options
Diffstat (limited to 'src/ceph/debian/radosgw.prerm')
-rw-r--r-- | src/ceph/debian/radosgw.prerm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ceph/debian/radosgw.prerm b/src/ceph/debian/radosgw.prerm new file mode 100644 index 0000000..4120fb6 --- /dev/null +++ b/src/ceph/debian/radosgw.prerm @@ -0,0 +1,23 @@ +#!/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 |