mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
pagure: Add a copy of rsyslog-logrotate where ansible can find it.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
20
roles/distgit/pagure/files/rsyslog-logrotate
Normal file
20
roles/distgit/pagure/files/rsyslog-logrotate
Normal file
@@ -0,0 +1,20 @@
|
||||
/var/log/cron
|
||||
/var/log/maillog
|
||||
/var/log/messages
|
||||
/var/log/secure
|
||||
/var/log/spooler
|
||||
{
|
||||
missingok
|
||||
sharedscripts
|
||||
postrotate
|
||||
/usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true
|
||||
endscript
|
||||
daily
|
||||
rotate 7
|
||||
ifempty
|
||||
compress
|
||||
compresscmd /usr/bin/xz
|
||||
uncompresscmd /usr/bin/xz
|
||||
compressext .xz
|
||||
dateext
|
||||
}
|
||||
Reference in New Issue
Block a user