aboutsummaryrefslogtreecommitdiffstats
path: root/main/pmacct/pmacct.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-28 20:33:08 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-28 20:33:08 +0200
commitefdbbf4ea3e925c7f3f4e9730f43ec17e0da1f68 (patch)
treee458c4bb62252e5fc03d4b022fb14fc38972a6b2 /main/pmacct/pmacct.initd
parentc9967842d08db74ba60369b3cd5238dbc351bbed (diff)
downloadaports-efdbbf4ea3e925c7f3f4e9730f43ec17e0da1f68.tar.bz2
aports-efdbbf4ea3e925c7f3f4e9730f43ec17e0da1f68.tar.xz
main/pmacct: move to unmaintained
deprecated ipt_ULOG.h header
Diffstat (limited to 'main/pmacct/pmacct.initd')
-rw-r--r--main/pmacct/pmacct.initd30
1 files changed, 0 insertions, 30 deletions
diff --git a/main/pmacct/pmacct.initd b/main/pmacct/pmacct.initd
deleted file mode 100644
index d7cf092108..0000000000
--- a/main/pmacct/pmacct.initd
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-analyzer/pmacct/files/$SVCNAME-init.d,v 1.4 2009/06/01 09:48:41 pva Exp $
-
-depend() {
- need net
- after firewall
-}
-
-checkconfig() {
- if [ ! -e /etc/$SVCNAME.conf ] ; then
- eerror "You need an /etc/$SVCNAME.conf file to run $SVCNAME"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting $SVCNAME"
- start-stop-daemon --start --pidfile /var/run/$SVCNAME.pid --exec /usr/sbin/$SVCNAME \
- -- -D -f /etc/$SVCNAME.conf -F /var/run/$SVCNAME.pid ${OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping $SVCNAME"
- start-stop-daemon --stop --pidfile /var/run/$SVCNAME.pid --exec /usr/sbin/$SVCNAME
- eend $?
-}