summaryrefslogtreecommitdiffstats
path: root/testing/rsyslog/rsyslog.logrotate
diff options
context:
space:
mode:
authorCameron Banta <cbanta@gmail.com>2010-12-13 17:36:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-14 10:23:24 +0000
commit36d7505e01641fdbfa85d1d83076633b06545649 (patch)
treeadacf69aff6edd791de13b1b4944d06e1956268c /testing/rsyslog/rsyslog.logrotate
parentf4377b771e78b3fa94a9e54f4f3cb93d9d5bff29 (diff)
downloadaports-36d7505e01641fdbfa85d1d83076633b06545649.tar.bz2
aports-36d7505e01641fdbfa85d1d83076633b06545649.tar.xz
testing/rsyslog: new package
Diffstat (limited to 'testing/rsyslog/rsyslog.logrotate')
-rw-r--r--testing/rsyslog/rsyslog.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/rsyslog/rsyslog.logrotate b/testing/rsyslog/rsyslog.logrotate
new file mode 100644
index 000000000..86095def1
--- /dev/null
+++ b/testing/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
+}