summaryrefslogtreecommitdiff
path: root/gitd
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-04-18 08:05:34 +0000
committerNick <nick@somerandomnick.ano>2010-04-18 08:05:34 +0000
commit288b4dec2ea9e137f332ad82a280293d0161c3bc (patch)
treed4d1b38d3f8009f21602979679c298ceb5d7d82b /gitd
parent390c762f5dd893c3905783bc905a18870da3a1a0 (diff)
downloadresdb-288b4dec2ea9e137f332ad82a280293d0161c3bc.tar.gz
resdb-288b4dec2ea9e137f332ad82a280293d0161c3bc.zip
added configure script (so you don't have to modify gitd itself)
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)"