summaryrefslogtreecommitdiff
path: root/debian/radosgw.postinst
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-30 17:23:36 -0700
committerSage Weil <sage@inktank.com>2013-05-30 17:23:36 -0700
commitcf9aa7a0037e56eada8b3c1bb59d59d0bfe7bba5 (patch)
tree95ec0bc396e60eb829578b88e06154bfe3fff458 /debian/radosgw.postinst
parenta40010534fd2d89eba3991f305089c35f02f2cad (diff)
downloadceph-cf9aa7a0037e56eada8b3c1bb59d59d0bfe7bba5.tar.gz
debian: guard upstart {start,stop} with -x check
Sigh. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'debian/radosgw.postinst')
-rw-r--r--debian/radosgw.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/radosgw.postinst b/debian/radosgw.postinst
index afc7dd39a84..f3468bc60bf 100644
--- a/debian/radosgw.postinst
+++ b/debian/radosgw.postinst
@@ -27,7 +27,7 @@ set -e
case "$1" in
configure)
- start radosgw-all || true
+ [ -x /sbin/start ] && start radosgw-all || :
;;
abort-upgrade|abort-remove|abort-deconfigure)
: