diff options
Diffstat (limited to 'sys-process/acct')
-rw-r--r-- | sys-process/acct/ChangeLog | 5 | ||||
-rw-r--r-- | sys-process/acct/files/acct.logrotate | 36 |
2 files changed, 22 insertions, 19 deletions
diff --git a/sys-process/acct/ChangeLog b/sys-process/acct/ChangeLog index 83d88cb74709..54b7151377f3 100644 --- a/sys-process/acct/ChangeLog +++ b/sys-process/acct/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/acct # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.39 2010/11/11 07:52:10 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.40 2010/11/15 15:00:59 jer Exp $ + + 15 Nov 2010; Jeroen Roovers <jer@gentoo.org> files/acct.logrotate: + Whitespace. 11 Nov 2010; Jeroen Roovers <jer@gentoo.org> files/acct.logrotate: Add missingok by Tom Hendrikx (bug #344963). diff --git a/sys-process/acct/files/acct.logrotate b/sys-process/acct/files/acct.logrotate index 1d6a1727fbba..766d4c05bef2 100644 --- a/sys-process/acct/files/acct.logrotate +++ b/sys-process/acct/files/acct.logrotate @@ -1,21 +1,21 @@ # Logrotate file for acct /var/account/pacct { - prerotate - if [ -h /lib/rc/init.d/started/acct ]; then - /etc/init.d/acct stop > /dev/null 2>&1 || true - fi - endscript - compress - delaycompress - notifempty - daily - rotate 31 - create 0600 root root - missingok - postrotate - if [ -h /lib/rc/init.d/started/acct ]; then - /etc/init.d/acct start > /dev/null 2>&1 || true - fi - endscript -} + prerotate + if [ -h /lib/rc/init.d/started/acct ]; then + /etc/init.d/acct stop > /dev/null 2>&1 || true + fi + endscript + compress + delaycompress + notifempty + daily + rotate 31 + create 0600 root root + missingok + postrotate + if [ -h /lib/rc/init.d/started/acct ]; then + /etc/init.d/acct start > /dev/null 2>&1 || true + fi + endscript +} |