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:
parent
dd4caad147
commit
3ea2e91e4f
1 changed files with 20 additions and 0 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue