This commit is contained in:
CCF_100 committed 2026-06-02 02:23:26 -05:00
1 parent 145a55ed20
commit e24f050db6
7 files changed
+81 -1

No files matched your search

@@ -0,0 +1,10 @@
[Unit]
Description=sccache-dist server
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/sccache-dist scheduler --config /etc/sccache/server.conf
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,10 @@
[Unit]
Description=sccache-dist server
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/sccache-dist server --config /etc/sccache/server.conf
[Install]
WantedBy=multi-user.target
+12
View File
@@ -0,0 +1,12 @@
# /etc/conf.d/sccache-scheduler: config file for /etc/init.d/sccache-scheduler
#
# Full path to config file. /etc/sccache/scheduler.conf is default if not set.
#SCCACHE_SCHEDULER_CONF="/etc/sccache/scheduler.conf"
# logging is off by default, possible values are: error warn info debug trace
#SCCACHE_SCHEDULER_LOGLEVEL=info
# no limits set by default, see IONICE(1), NICE(1), START-STOP-DAEMON(8)
#SSD_NICELEVEL=15
#SSD_IONICELEVEL=3
+17
View File
@@ -0,0 +1,17 @@
#!/sbin/openrc-run
# Copyright 1999-2020 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}"
+12
View File
@@ -0,0 +1,12 @@
# /etc/conf.d/sccache-server: config file for /etc/init.d/sccache-server
#
# Full path to config file. /etc/sccache/server.conf is default if not set.
#SCCACHE_SERVER_CONF="/etc/sccache/server.conf"
# logging is off by default, possible values are: error warn info debug trace
#SCCACHE_SERVER_LOGLEVEL=info
# no limits set by default, see IONICE(1), NICE(1), START-STOP-DAEMON(8)
#SSD_NICELEVEL=15
#SSD_IONICELEVEL=3
+19
View File
@@ -0,0 +1,19 @@
#!/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}"
+1 -1
View File
@@ -94,7 +94,7 @@ IUSE=""
# other users hopefully won't be caught without the right version of
# a dependency.
RDEPEND="
dev-util/crash
kde-frameworks/kcrash
kde-frameworks/kcoreaddons
kde-frameworks/kwidgetsaddons
kde-frameworks/kconfig