summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-11-20 13:46:57 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-11-20 13:46:57 +0000
commit6606c0c3dc722e69cdbb5ce53516a691b514155f (patch)
tree5579f5d0241ceccb83c1252592fc5b1c477d1059 /app-admin/rsyslog
parentremove old (diff)
downloadgentoo-2-6606c0c3dc722e69cdbb5ce53516a691b514155f.tar.gz
gentoo-2-6606c0c3dc722e69cdbb5ce53516a691b514155f.tar.bz2
gentoo-2-6606c0c3dc722e69cdbb5ce53516a691b514155f.zip
fix v7 logrotate script
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'app-admin/rsyslog')
-rw-r--r--app-admin/rsyslog/ChangeLog5
-rw-r--r--app-admin/rsyslog/files/7-stable/rsyslog.logrotate44
2 files changed, 40 insertions, 9 deletions
diff --git a/app-admin/rsyslog/ChangeLog b/app-admin/rsyslog/ChangeLog
index 959ee540e3d4..3e186e78609e 100644
--- a/app-admin/rsyslog/ChangeLog
+++ b/app-admin/rsyslog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/rsyslog
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.84 2012/11/20 13:03:37 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.85 2012/11/20 13:46:57 ultrabug Exp $
+
+ 20 Nov 2012; Ultrabug <ultrabug@gentoo.org> files/7-stable/rsyslog.logrotate:
+ fix v7 logrotate script
*rsyslog-7.2.2 (20 Nov 2012)
*rsyslog-6.6.0 (20 Nov 2012)
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