ceph/src/logrotate.conf
Laszlo Boszormenyi 0b0f65a402 add missingok to logrotate
When ceph is not running, it has no logs. Thus logrotate has nothing to
rotate. The missingok directive handles this situation.

Signed-off-by: Laszlo Boszormenyi <gcs@debian.hu>
2011-11-02 08:44:33 -07:00

11 lines
198 B
Plaintext

/var/log/ceph/*.log {
rotate 7
daily
compress
sharedscripts
postrotate
invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null
endscript
missingok
}