14 lines
366 B
Plaintext
Executable File
14 lines
366 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
pidfile="/var/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= -b -m"
|
|
|
|
depend() {
|
|
use logger
|
|
}
|