ceph-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] debian/ceph.logrotate: enhance postrotate for "service" util
@ 2010-07-29 15:58 Thomas Mueller
  0 siblings, 0 replies; only message in thread
From: Thomas Mueller @ 2010-07-29 15:58 UTC (permalink / raw)
  To: ceph-devel

invoke-rc.d is debian specific. 

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


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
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-29 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29 15:58 [PATCH] debian/ceph.logrotate: enhance postrotate for "service" util Thomas Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).