diff options
Diffstat (limited to 'main/git/git-daemon.initd')
-rw-r--r-- | main/git/git-daemon.initd | 2 |
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} \ |