Conflicts:
debian/ceph.prerm
#!/bin/sh
+# vim: set noet ts=8:
-[ -x /sbin/stop ] && stop ceph-all || :
-[ -x /usr/sbin/service ] && service ceph stop || :
+set -e
-exit 0
+invoke-rc.d ceph-all stop || {
+ RESULT=$?
+ # Ignore if ceph-all upstart config does not
+ # exist or upstart is not in use
+ if [ $RESULT != 100 ]; then
+ exit $RESULT
+ fi
+}
+
++invoke-rc.d ceph stop || {
++ RESULT=$?
++ if [ $RESULT != 100 ]; then
++ exit $RESULT
++ fi
++}
++
+#DEBHELPER#
+
+exit 0