Remove obsolete logrotate settings

This commit is contained in:
Joshua Boniface 2022-11-05 01:08:56 -04:00
parent b7b633422b
commit 2c269c0bcd
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 }}