From 69ab4606ca8421ae7a1cb09d9c4075db0e301607 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 26 Jul 2007 20:58:01 +0000 Subject: iinclude /var/log/messages in the hardened logrotate file (Portage version: 2.1.2.9) --- app-admin/syslog-ng/files/syslog-ng.logrotate.hardened | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'app-admin/syslog-ng') 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 +} -- cgit v1.2.3-65-gdbad