diff mbox

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

Message ID i2s8ep$33r$4@dough.gmane.org (mailing list archive)
State New, archived
Headers show

Commit Message

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

Patch

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
 }