summaryrefslogblamecommitdiff
path: root/system/git/git-daemon.initd
blob: 394feb97eeba31cf303c2e8f8b9532865ebf13af (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13











                                                                                                                     
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

pidfile="/var/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"

depend() {
	use logger
}