summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/openhpi/files/openhpi-initd')
-rw-r--r--sys-libs/openhpi/files/openhpi-initd21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys-libs/openhpi/files/openhpi-initd b/sys-libs/openhpi/files/openhpi-initd
deleted file mode 100644
index dc6ad2517f9b..000000000000
--- a/sys-libs/openhpi/files/openhpi-initd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-start() {
- local extraopts
- [ -n "${OPENHPID_PORT}" ] && extraopts += " -p ${OPENHPID_PORT}"
- [ -n "${OPENHPID_READTIMEOUT}" ] && extraopts += " -s ${OPENHPID_READTIMEOUT}"
- [ -n "${OPENHPID_THREADS}" ] && extraopts += " -t ${OPENHPID_THREADS}"
-
- ebegin "Starting openhpid"
- start-stop-daemon --start --exec /usr/sbin/openhpid --pidfile /var/run/openhpid.pid \
- -- -c /etc/openhpi/openhpi.conf -f /var/run/openhpid.pid ${extraopts}
- eend $?
-}
-
-stop() {
- ebegin "Stopping openhpid"
- start-stop-daemon --stop --exec /usr/sbin/openhpid --pidfile /var/run/openhpid.pid
- eend $?
-}