1 2 3 4 5 6 7 8 9 10 11 12 13
/var/log/syslog { missingok # rotate after X bytes - ignore time size 512k # keep backlog of X rotate 20 postrotate systemctl restart rsyslog endscript }