diff options
author | Sven Gothel <[email protected]> | 2013-06-06 02:11:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-06 02:11:24 +0200 |
commit | 37e89102f700a8187f994098b7944c5ec236bc97 (patch) | |
tree | a4fce6b084028867af4fb8c9756d6b6b4919efc0 /server/setup/05-service-settings/etc/logrotate.d | |
parent | 2b17b948cd81e1cb945d5a057bd96316e904e3f3 (diff) |
server config part-1: logging, move backup files and users, mysql, procmail, bogofilter, sasl2, dovecot, sendmail
Diffstat (limited to 'server/setup/05-service-settings/etc/logrotate.d')
-rw-r--r-- | server/setup/05-service-settings/etc/logrotate.d/rsyslog | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/server/setup/05-service-settings/etc/logrotate.d/rsyslog b/server/setup/05-service-settings/etc/logrotate.d/rsyslog new file mode 100644 index 0000000..cb5d25f --- /dev/null +++ b/server/setup/05-service-settings/etc/logrotate.d/rsyslog @@ -0,0 +1,39 @@ +/var/log/syslog +{ + rotate 7 + daily + missingok + notifempty + delaycompress + compress + postrotate + invoke-rc.d rsyslog rotate > /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 +/var/log/firewall +/var/log/dovecot.log +{ + rotate 4 + weekly + missingok + notifempty + compress + delaycompress + sharedscripts + postrotate + invoke-rc.d rsyslog rotate > /dev/null + endscript +} |