summaryrefslogtreecommitdiff
path: root/dev-vcs/git/files/git-daemon-r1.initd
blob: 339b6238bac4255951554a3bb02c7158f3b04e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.2 2014/02/07 07:59:03 polynomial-c Exp $

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

depend() {
	use logger
}