summaryrefslogtreecommitdiff
path: root/dev-vcs/git/files/git-daemon-r1.initd
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-01-29 20:25:11 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-01-29 20:25:11 +0200
commite3c97b90d9ea51f69ee39e18f7a9e63e7d8688cc (patch)
tree612bca492ca44601178eae46d6003afee06034f5 /dev-vcs/git/files/git-daemon-r1.initd
parent157d97123246b45224496d9c4dec52de33407573 (diff)
Added git ebuilds
Diffstat (limited to 'dev-vcs/git/files/git-daemon-r1.initd')
-rw-r--r--dev-vcs/git/files/git-daemon-r1.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-daemon-r1.initd b/dev-vcs/git/files/git-daemon-r1.initd
new file mode 100644
index 00000000..339b6238
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon-r1.initd
@@ -0,0 +1,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
+}