21 lines
611 B
Plaintext
Executable File
21 lines
611 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
description="gitea-runner"
|
|
|
|
# directory="/var/lib/gitea-runner"
|
|
pidfile="/run/gitea-runner.pid"
|
|
command="/usr/bin/gitea-runner"
|
|
command_args="daemon -c ${GITEA_CONFIG:-/etc/gitea-runner/config.yaml} ${GITEA_RUNNER_OPTS}"
|
|
command_user="${GITEA_RUNNER_USER:-nobody}:${GITEA_RUNNER_GROUP:-nobody}"
|
|
#start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME="
|
|
command_background="yes"
|
|
output_log="/var/log/gitea-runner.log"
|
|
error_log="/var/log/gitea-runner.err"
|
|
|
|
depend() {
|
|
use docker network
|
|
}
|
|
|