portage/sys-devel/distcc/files/distccd.initd

16 lines
374 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
use avahi-daemon ypbind
}
command="${DISTCCD_EXEC:-usr/bin/distccd}"
command_args="--user distcc --daemon --no-detach ${DISTCCD_OPTS}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
export TMPDIR="${TMPDIR:-/tmp}"