Sigh.
Signed-off-by: Sage Weil <sage@inktank.com>
case "$1" in
configure)
- start ceph-mds-all || true
+ [ -x /sbin/start ] && start ceph-mds-all || :
;;
abort-upgrade|abort-remove|abort-deconfigure)
:
case "$1" in
remove)
- stop ceph-mds-all || true
+ [ -x /sbin/stop ] && stop ceph-mds-all || :
invoke-rc.d ceph stop mds || {
RESULT=$?
if [ $RESULT != 100 ]; then
case "$1" in
configure)
rm -f /etc/init/ceph.conf
- start ceph-all || true
+ [ -x /sbin/start ] && start ceph-all || :
;;
abort-upgrade|abort-remove|abort-deconfigure)
:
case "$1" in
remove)
- stop ceph-all || true
+ [ -x /sbin/stop ] && stop ceph-all || true
invoke-rc.d ceph stop || {
RESULT=$?
if [ $RESULT != 100 ]; then
case "$1" in
configure)
- start radosgw-all || true
+ [ -x /sbin/start ] && start radosgw-all || :
;;
abort-upgrade|abort-remove|abort-deconfigure)
:
case "$1" in
remove)
- stop radosgw-all || true
+ [ -x /sbin/stop ] && stop radosgw-all || true
invoke-rc.d radosgw stop || {
RESULT=$?
if [ $RESULT != 100 ]; then