ceph/debian/ceph.logrotate
Thomas Mueller fd4029cb0a debian/ceph.logrotate: enhance postrotate for "service" util
[ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "iso-8859-1" character set.  ]
    [ Some characters may be displayed incorrectly. ]

invoke-rc.d is debian specific.

run "service ceph reload" if invoke-rc.d fails.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:29:31 -07:00

10 lines
187 B
Plaintext

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