From 288b4dec2ea9e137f332ad82a280293d0161c3bc Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 18 Apr 2010 08:05:34 +0000 Subject: added configure script (so you don't have to modify gitd itself) --- gitd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gitd') 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)" -- cgit v1.2.3