summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/sccache/files/scheduler.initd-r1')
-rw-r--r--dev-util/sccache/files/scheduler.initd-r117
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-util/sccache/files/scheduler.initd-r1 b/dev-util/sccache/files/scheduler.initd-r1
new file mode 100644
index 000000000000..ae9f60bff8b2
--- /dev/null
+++ b/dev-util/sccache/files/scheduler.initd-r1
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+SCCACHE_SCHEDULER_CONF="${SCCACHE_SCHEDULER_CONF:-/etc/sccache/scheduler.conf}"
+
+depend() {
+ need localmount
+ use net
+}
+
+description="Starts sccache build scheduler server"
+
+command="/usr/bin/sccache-dist"
+command_args="--config ${SCCACHE_SCHEDULER_CONF} ${SCCACHE_SCHEDULER_LOGLEVEL:+--syslog ${SCCACHE_SCHEDULER_LOGLEVEL}}"
+procname="${command} scheduler"
+required_files="${SCCACHE_SCHEDULER_CONF}"