diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-05-30 11:39:21 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-05-30 11:39:21 +0000 |
commit | 02de89b848d9c139ca0809ad0e59eccdccce2fea (patch) | |
tree | f6fdf2c3e23cd0ada8087419dce299c45ff2c66e /sys-process/acct/files | |
parent | Stable on amd64 wrt bug #335657 (diff) | |
download | gentoo-2-02de89b848d9c139ca0809ad0e59eccdccce2fea.tar.gz gentoo-2-02de89b848d9c139ca0809ad0e59eccdccce2fea.tar.bz2 gentoo-2-02de89b848d9c139ca0809ad0e59eccdccce2fea.zip |
Move to stable since there was no functional difference anyway.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/acct/files')
-rw-r--r-- | sys-process/acct/files/acct.initd-r1 | 45 | ||||
-rw-r--r-- | sys-process/acct/files/acct.logrotate-r1 | 14 |
2 files changed, 0 insertions, 59 deletions
diff --git a/sys-process/acct/files/acct.initd-r1 b/sys-process/acct/files/acct.initd-r1 deleted file mode 100644 index 6edc548ad2fd..000000000000 --- a/sys-process/acct/files/acct.initd-r1 +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/files/acct.initd-r1,v 1.1 2011/01/26 05:36:22 jer Exp $ - -opts="report reload" - -depend() { - need localmount -} - -checkconfig() { - export ACCT_LOG=${ACCT_LOG:-/var/account/pacct} - if [[ ! -e ${ACCT_LOG} ]] ; then - touch "${ACCT_LOG}" - chmod 600 "${ACCT_LOG}" - fi - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting accounting" - accton "${ACCT_LOG}" - eend $? -} - -stop() { - ebegin "Stopping accounting" - accton off - eend $? -} - -report() { - sa ${REPORT_OPTS} "${ACCT_LOG}" -} - -reload() { - service_started "${SVCNAME}" || return - svc_stop - svc_start -} - -# vim:ts=4 sw=4: diff --git a/sys-process/acct/files/acct.logrotate-r1 b/sys-process/acct/files/acct.logrotate-r1 deleted file mode 100644 index 26f98115e2a0..000000000000 --- a/sys-process/acct/files/acct.logrotate-r1 +++ /dev/null @@ -1,14 +0,0 @@ -# Logrotate file for acct - -/var/account/pacct { - compress - delaycompress - notifempty - daily - rotate 31 - create 0600 root root - missingok - postrotate - /etc/init.d/acct reload > /dev/null 2>&1 - endscript -} |