summaryrefslogtreecommitdiffstats
path: root/main/rsyslog/rsyslog.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/rsyslog/rsyslog.logrotate')
-rw-r--r--main/rsyslog/rsyslog.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/rsyslog/rsyslog.logrotate b/main/rsyslog/rsyslog.logrotate
new file mode 100644
index 000000000..86095def1
--- /dev/null
+++ b/main/rsyslog/rsyslog.logrotate
@@ -0,0 +1,9 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/5-stable/rsyslog.logrotate,v 1.1 2010/10/21 07:38:29 dev-zero 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
+}