diff options
Diffstat (limited to 'sys-devel/distcc/files/distccd.initd')
-rw-r--r-- | sys-devel/distcc/files/distccd.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-devel/distcc/files/distccd.initd b/sys-devel/distcc/files/distccd.initd new file mode 100644 index 000000000000..7673ff2cf429 --- /dev/null +++ b/sys-devel/distcc/files/distccd.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 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" |