Remove obsolete logrotate settings
This commit is contained in:
parent
b7b633422b
commit
2c269c0bcd
|
@ -1,23 +0,0 @@
|
||||||
# Logrotate configuration for loghost archives
|
|
||||||
# {{ ansible_managed }}
|
|
||||||
|
|
||||||
/srv/log/kern.log
|
|
||||||
/srv/log/daemon.log
|
|
||||||
/srv/log/haproxy.log
|
|
||||||
/srv/log/auth.log
|
|
||||||
/srv/log/cron.log
|
|
||||||
/srv/log/mail.log
|
|
||||||
/srv/log/boot.log
|
|
||||||
/srv/log/system.log
|
|
||||||
{
|
|
||||||
weekly
|
|
||||||
missingok
|
|
||||||
copytruncate
|
|
||||||
dateext
|
|
||||||
notifempty
|
|
||||||
sharedscripts
|
|
||||||
postrotate
|
|
||||||
/usr/lib/rsyslog/rsyslog-rotate &>/dev/null
|
|
||||||
/usr/local/sbin/loghost-archive.sh &>/dev/null
|
|
||||||
endscript
|
|
||||||
}
|
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
/var/log/kern.log
|
/var/log/kern.log
|
||||||
/var/log/daemon.log
|
/var/log/daemon.log
|
||||||
/var/log/haproxy.log
|
|
||||||
/var/log/auth.log
|
/var/log/auth.log
|
||||||
/var/log/cron.log
|
/var/log/cron.log
|
||||||
/var/log/mail.log
|
/var/log/mail.log
|
||||||
/var/log/boot.log
|
|
||||||
/var/log/system.log
|
/var/log/system.log
|
||||||
{
|
{
|
||||||
rotate {{ logrotate_keepcount }}
|
rotate {{ logrotate_keepcount }}
|
||||||
|
|
Loading…
Reference in New Issue