Skip to contentSkip to conversation

debian/ceph.logrotate: enhance postrotate for "service" util

PATCH New Thomas Mueller 1 participant 1 message Jul 29, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 debian/ceph.logrotate: enhance postrotate for "service" util

invoke-rc.d is debian specific.

run "service ceph reload" if invoke-rc.d fails.

debian/ceph.logrotate +1 -1
index 851d57f..baea2e9 100644
@@ -4,6 +4,6 @@
     compress
     sharedscripts
     postrotate
-        invoke-rc.d ceph reload
+        invoke-rc.d ceph reload || service ceph reload
     endscript
 }