All of lore.kernel.org
 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.