summaryrefslogtreecommitdiff
path: root/gitd
diff options
context:
space:
mode:
Diffstat (limited to 'gitd')
-rwxr-xr-xgitd3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitd b/gitd
index 3e9ebcd..591ca2a 100755
--- a/gitd
+++ b/gitd
@@ -1,2 +1,3 @@
#!/bin/sh
-git daemon --listen=1.0.27.102 --base-path=/home/www/resdb/
+repodir="$(basename $0)"
+exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"