Files
gentoo/dev-util/sccache/files/server.initd
Georgy Yakovlev c9a7f830d8 dev-util/sccache: drop old
Closes: https://bugs.gentoo.org/694430
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
2020-02-17 22:15:59 -08:00

20 lines
564 B
Plaintext

#!/sbin/openrc-run
# 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
}
description="Starts sccache build server"
command="/usr/bin/sccache-dist"
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}"