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

Message ID i2s8ep$33r$4@dough.gmane.org
State New, archived
Headers show

Commit Message

Thomas Mueller July 29, 2010, 3:58 p.m. UTC
None

Patch
diff mbox

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