[ceph/f16] -forgot to add the logrotate patch

Josef Bacik josef at fedoraproject.org
Mon Nov 7 17:01:03 UTC 2011


commit 0e4cc7c1b71569ec6bb3f29d5c418d798549a369
Author: Josef Bacik <josef at redhat.com>
Date:   Mon Nov 7 12:00:43 2011 -0500

    -forgot to add the logrotate patch

 ceph.logrotate.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ceph.logrotate.patch b/ceph.logrotate.patch
new file mode 100644
index 0000000..5309443
--- /dev/null
+++ b/ceph.logrotate.patch
@@ -0,0 +1,14 @@
+--- src/logrotate.conf	2011-07-30 16:50:50.000000000 -0400
++++ src/logrotate.conf.new	2011-11-05 17:41:02.567151275 -0400
+@@ -1,9 +1,10 @@
+ /var/log/ceph/*.log {
+     rotate 7
+     daily
++    missingok
+     compress
+     sharedscripts
+     postrotate
+-        invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null
++        service ceph reload >/dev/null 2>/dev/null || true
+     endscript
+ }


More information about the scm-commits mailing list