aboutsummaryrefslogtreecommitdiffstats
path: root/main/git/git-daemon.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-06 07:49:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-06 07:50:17 +0000
commit40734834cf3e1829a2bee2f47b8b2f6fb4c828ce (patch)
treeab92b271da8632f7b30e7ad67479af56147d60bc /main/git/git-daemon.initd
parent22f055b22c390e9d23cd67c27b662811734ea1de (diff)
downloadaports-40734834cf3e1829a2bee2f47b8b2f6fb4c828ce.tar.bz2
aports-40734834cf3e1829a2bee2f47b8b2f6fb4c828ce.tar.xz
main/git: default home dir is /var/git
Diffstat (limited to 'main/git/git-daemon.initd')
-rw-r--r--main/git/git-daemon.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/git/git-daemon.initd b/main/git/git-daemon.initd
index 49d22d2a62..317aed83f5 100644
--- a/main/git/git-daemon.initd
+++ b/main/git/git-daemon.initd
@@ -13,7 +13,7 @@ depend() {
start() {
ebegin "Starting git-daemon"
start-stop-daemon --start --quiet --background \
- --env HOME=/var/gitroot \
+ --env HOME=${GIT_HOME:-/var/git} \
--pidfile ${PIDFILE} \
--exec /usr/bin/git -- daemon \
--pid-file=${PIDFILE} \