summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-07-26 20:58:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-07-26 20:58:01 +0000
commit69ab4606ca8421ae7a1cb09d9c4075db0e301607 (patch)
treea231e4c87562d8efac00cf82cdd95e16997f58ef /app-admin/syslog-ng
parentStable on sparc wrt #186506 (diff)
downloadgentoo-2-69ab4606ca8421ae7a1cb09d9c4075db0e301607.tar.gz
gentoo-2-69ab4606ca8421ae7a1cb09d9c4075db0e301607.tar.bz2
gentoo-2-69ab4606ca8421ae7a1cb09d9c4075db0e301607.zip
iinclude /var/log/messages in the hardened logrotate file
(Portage version: 2.1.2.9)
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/files/syslog-ng.logrotate.hardened10
1 files changed, 9 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened b/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened
index b191e3208bda..0527d48971d3 100644
--- a/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened
+++ b/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v 1.1 2007/07/25 03:58:38 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v 1.2 2007/07/26 20:58:01 mr_bones_ Exp $
#
# Syslog-ng logrotate snippet for Hardened Gentoo Linux
# contributed by Maciej Grela
@@ -63,3 +63,11 @@
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
endscript
}
+
+# the rest
+/var/log/messages {
+ sharedscripts
+ postrotate
+ /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
+ endscript
+}