]> git.pld-linux.org Git - packages/ceph.git/blobdiff - cephctl
logrotate: use cephctl, so it works with systemd
[packages/ceph.git] / cephctl
diff --git a/cephctl b/cephctl
index 3fb1d6109ce286981c12a45d3751d607c53e187e..fce0240ad75b8bd64a2bdbe618826c84f80d3f4f 100644 (file)
--- a/cephctl
+++ b/cephctl
@@ -3,6 +3,8 @@
 # It seems this was designed as /etc/init.d/ceph script for controlling the systemd
 # units on SuSE, made into 'cephctl' for PLD
 
+systemd_booted 2>/dev/null || exec /etc/rc.d/init.d/ceph "$@"
+
 action=$1 ; shift
 [ -f /etc/sysconfig/ceph ] && . /etc/sysconfig/ceph
 cluster=${CLUSTER:-ceph}
This page took 0.063816 seconds and 4 git commands to generate.