summaryrefslogtreecommitdiff
path: root/harmony/git/git-daemon.initd
diff options
context:
space:
mode:
Diffstat (limited to 'harmony/git/git-daemon.initd')
-rw-r--r--harmony/git/git-daemon.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/harmony/git/git-daemon.initd b/harmony/git/git-daemon.initd
new file mode 100644
index 000000000..394feb97e
--- /dev/null
+++ b/harmony/git/git-daemon.initd
@@ -0,0 +1,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
+}