This used a syntax that was from an old EL and does not work with newer Fedora with systemctl. Hat tip to misc for helping me figure out which rpm had the file in it and then what the right syntax was.
20 lines
357 B
Text
20 lines
357 B
Text
/var/log/cron
|
|
/var/log/maillog
|
|
/var/log/messages
|
|
/var/log/secure
|
|
/var/log/spooler
|
|
{
|
|
sharedscripts
|
|
postrotate
|
|
/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true
|
|
endscript
|
|
daily
|
|
rotate 7
|
|
missingok
|
|
ifempty
|
|
compress
|
|
compresscmd /usr/bin/xz
|
|
uncompresscmd /usr/bin/xz
|
|
compressext .xz
|
|
dateext
|
|
}
|