diff options
author | 2012-11-20 13:47:05 +0000 | |
---|---|---|
committer | 2012-11-20 13:47:05 +0000 | |
commit | a43a10bf5c37bc3af011e0767d2b8db04ad776c6 (patch) | |
tree | af4c28ce99f3cf442ac517d38c0082ed9d11f2ec /app-admin/rsyslog/files/7-stable | |
parent | remove old (diff) | |
download | historical-a43a10bf5c37bc3af011e0767d2b8db04ad776c6.tar.gz historical-a43a10bf5c37bc3af011e0767d2b8db04ad776c6.tar.bz2 historical-a43a10bf5c37bc3af011e0767d2b8db04ad776c6.zip |
fix v7 logrotate script
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'app-admin/rsyslog/files/7-stable')
-rw-r--r-- | app-admin/rsyslog/files/7-stable/rsyslog.logrotate | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/app-admin/rsyslog/files/7-stable/rsyslog.logrotate b/app-admin/rsyslog/files/7-stable/rsyslog.logrotate index dce3fd1560f2..3bb234613bdc 100644 --- a/app-admin/rsyslog/files/7-stable/rsyslog.logrotate +++ b/app-admin/rsyslog/files/7-stable/rsyslog.logrotate @@ -1,9 +1,37 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/7-stable/rsyslog.logrotate,v 1.1 2012/11/20 13:03:36 ultrabug Exp $ -/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log { - sharedscripts - postrotate - /etc/init.d/rsyslog reload &>/dev/null || true - endscript +/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 +{ + rotate 4 + weekly + missingok + notifempty + compress + delaycompress + sharedscripts + postrotate + invoke-rc.d rsyslog rotate > /dev/null + endscript +}
\ No newline at end of file |