diff gitd @ 9:8f9565400a0f draft

added configure script (so you don't have to modify gitd itself)
author Nick <nick@somerandomnick.ano>
date Sun, 18 Apr 2010 08:05:34 +0000
parents 5e53ef653769
children ffd1b6e28335
line wrap: on
line diff
--- a/gitd	Sun Apr 18 06:38:19 2010 +0000
+++ b/gitd	Sun Apr 18 08:05:34 2010 +0000
@@ -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)"