summaryrefslogtreecommitdiff
path: root/nonsystemd/distcc-openrc/distcc.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/distcc-openrc/distcc.initd')
-rw-r--r--nonsystemd/distcc-openrc/distcc.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/nonsystemd/distcc-openrc/distcc.initd b/nonsystemd/distcc-openrc/distcc.initd
new file mode 100644
index 000000000..4514ae754
--- /dev/null
+++ b/nonsystemd/distcc-openrc/distcc.initd
@@ -0,0 +1,14 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+supervisor=supervise-daemon
+pidfile="${DISTCCD_PIDFILE}"
+command="${DISTCCD_EXEC}"
+command_args="${DISTCCD_OPTS} --no-detach"
+command_user="distcc:distcc"
+
+depend() {
+ need net
+ use avahi-daemon ypbind
+}