mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-02-02 20:59:02 +08:00
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.
21 lines
357 B
Plaintext
21 lines
357 B
Plaintext
/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
|
|
}
|