etc-gentoo/logrotate.d/mcelog

16 lines
267 B
Plaintext
Raw Normal View History

/var/log/mcelog {
compress
dateext
maxage 365
rotate 99
size=+2048k
notifempty
missingok
copytruncate
postrotate
chmod 644 /var/log/mcelog
[ -r /var/run/mcelog.pid ] && kill -USR1 `cat /var/run/mcelog.pid`
endscript
}