Remove obsolete logrotate settings

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:29 -04:00
parent 73e1f2042c
commit d94f587e37
2 changed files with 0 additions and 25 deletions

View File

@ -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
}

View File

@ -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 }}