ceph/ceph.logrotate.patch
David Nalley d10f18bd8e Updating to 0.37
Fixing bugs 745462, 745460, 691033, 748930, 747101
2011-11-05 22:10:06 -04:00

15 lines
407 B
Diff

--- 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
}