X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flogrotate.d%2Frsyslog;fp=etc%2Flogrotate.d%2Frsyslog;h=9ce5a447a4304c3efc0b938f215ef74a576b0354;hb=cefedb35e25973a4b26d44497a0a1121ed5bd571;hp=0000000000000000000000000000000000000000;hpb=79ef033b0b877429256ea8b968c1e1e4ad906c3f;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/logrotate.d/rsyslog b/etc/logrotate.d/rsyslog new file mode 100644 index 0000000..9ce5a44 --- /dev/null +++ b/etc/logrotate.d/rsyslog @@ -0,0 +1,37 @@ +/var/log/syslog +{ + rotate 7 + daily + missingok + notifempty + delaycompress + compress + postrotate + invoke-rc.d rsyslog reload > /dev/null + endscript +} + +/var/log/mail.info +/var/log/mail.warn +/var/log/mail.err +/var/log/mail.log +/var/log/daemon.log +/var/log/kern.log +/var/log/auth.log +/var/log/user.log +/var/log/lpr.log +/var/log/cron.log +/var/log/debug +/var/log/messages +{ + rotate 4 + weekly + missingok + notifempty + compress + delaycompress + sharedscripts + postrotate + invoke-rc.d rsyslog reload > /dev/null + endscript +}