diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-31 16:00:27 +0000 |
commit | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (patch) | |
tree | c34bf820c2809fb7e08ed5564df2a25cf759516f /dev-util/sccache/files/server.initd | |
parent | 693cc9b6e847a01c1bb692153021aaf9fb0fab25 (diff) |
gentoo resync 31.01.2019
Diffstat (limited to 'dev-util/sccache/files/server.initd')
-rwxr-xr-x | dev-util/sccache/files/server.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/sccache/files/server.initd b/dev-util/sccache/files/server.initd new file mode 100755 index 000000000000..0c37ee400b05 --- /dev/null +++ b/dev-util/sccache/files/server.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 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="server ${SCCACHE_SERVER_CONF:+--config ${SCCACHE_SERVER_CONF}}" +command_background="true" +pidfile="/run/${RC_SVCNAME}.pid" +required_files="${SCCACHE_SERVER_CONF}" +start_stop_daemon_args="--env RUST_LOG=${SCCACHE_SERVER_LOGLEVEL:- }" |