gentoo/dev-vcs/git/files/git-daemon-r2.initd
Lars Wendler 5a4cc6f1b6
dev-vcs/git: Use /run for pidfile
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2021-12-06 10:38:18 +01:00

15 lines
378 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
pidfile="/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME="
command_background="yes"
depend() {
use logger
}