summaryrefslogtreecommitdiff
path: root/sys-devel/distcc/files/2.18/init
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/distcc/files/2.18/init')
-rw-r--r--sys-devel/distcc/files/2.18/init30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys-devel/distcc/files/2.18/init b/sys-devel/distcc/files/2.18/init
deleted file mode 100644
index f9bf8ed4b86..00000000000
--- a/sys-devel/distcc/files/2.18/init
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/runscript
-# $Id$
-
-depend() {
- need net
- use ypbind
-}
-
-start() {
- [ -e "${DISTCCD_PIDFILE}" ] && rm -f ${DISTCCD_PIDFILE} &>/dev/null
-
- ebegin "Starting distccd"
- chown distcc `dirname ${DISTCCD_PIDFILE}` &>/dev/null
- TMPDIR="${TMPDIR}" \
- PATH="$(gcc-config --get-bin-path):${PATH}" \
- /sbin/start-stop-daemon --start --quiet --startas ${DISTCCD_EXEC} \
- --pidfile ${DISTCCD_PIDFILE} -- \
- --pid-file ${DISTCCD_PIDFILE} -N ${DISTCCD_NICE} --user distcc \
- ${DISTCCD_OPTS}
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping distccd"
- start-stop-daemon --stop --quiet --pidfile "${DISTCCD_PIDFILE}"
- rm -f "${DISTCCD_PIDFILE}"
- eend $?
-}
-