X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdebian%2Fradosgw.prerm;fp=src%2Fceph%2Fdebian%2Fradosgw.prerm;h=4120fb6272c14ee1633d97af6c907def45436410;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git 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