aboutsummaryrefslogtreecommitdiffstats
path: root/main/git/git-daemon.confd
diff options
context:
space:
mode:
Diffstat (limited to 'main/git/git-daemon.confd')
-rw-r--r--main/git/git-daemon.confd3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/git/git-daemon.confd b/main/git/git-daemon.confd
index 75b421680c..6369053fc9 100644
--- a/main/git/git-daemon.confd
+++ b/main/git/git-daemon.confd
@@ -10,7 +10,8 @@
# --export-all --- Exports all repositories
# --port=XXXX --- Starts in port XXXX instead of 9418
#
-GITDAEMON_OPTS="--syslog /var/git"
+GITDAEMON_REPO="/var/git"
+GITDAEMON_OPTS="--syslog --base-path=${GITDAEMON_REPO} ${GITDAEMON_REPO}"
# To run an anonymous git safely, the following user should be able to only
# read your Git repositories. It should not able able to write to anywhere on