summaryrefslogtreecommitdiff
path: root/dev-util/sccache/files/server.initd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/sccache/files/server.initd')
-rw-r--r--dev-util/sccache/files/server.initd10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-util/sccache/files/server.initd b/dev-util/sccache/files/server.initd
index 0c37ee400b05..b7453a03ca0f 100644
--- a/dev-util/sccache/files/server.initd
+++ b/dev-util/sccache/files/server.initd
@@ -1,19 +1,19 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
SCCACHE_SERVER_CONF="${SCCACHE_SERVER_CONF:-/etc/sccache/server.conf}"
depend() {
- need localmount
- use net
+ need localmount
+ use net
}
description="Starts sccache build server"
command="/usr/bin/sccache-dist"
-command_args="server ${SCCACHE_SERVER_CONF:+--config ${SCCACHE_SERVER_CONF}}"
+command_args="--config ${SCCACHE_SERVER_CONF} ${SCCACHE_SERVER_LOGLEVEL:+--syslog ${SCCACHE_SERVER_LOGLEVEL}}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
+procname="${command} server"
required_files="${SCCACHE_SERVER_CONF}"
-start_stop_daemon_args="--env RUST_LOG=${SCCACHE_SERVER_LOGLEVEL:- }"