ceph/ceph.logrotate.patch

15 lines
407 B
Diff
Raw Normal View History

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