1/var/log/mcelog { 2 compress 3 dateext 4 maxage 365 5 rotate 99 6 size=+2048k 7 notifempty 8 missingok 9 copytruncate 10 postrotate 11 chmod 644 /var/log/mcelog 12 [ -r /var/run/mcelog.pid ] && kill -USR1 `cat /var/run/mcelog.pid` 13 endscript 14} 15 16