view gitd @ 612:b721aa91808d draft

/A1/lex2> somerandomnick: BTW you can remove my clientport from a2.o if you so desire /A1/lex2> I would update it in my repository but really there is no point in me doing so because you won't pull from me over IPv6 :v /SVC/srnbot> IPv6 sucks.
author Nick <nick@somerandomnick.ano>
date Fri, 16 Sep 2011 10:02:19 +0000
parents 17b7c922f9fb
children fb73b7e956ec
line wrap: on
line source

#!/bin/sh
repodir="$(dirname $0)"
touch "$repodir"/.git/git-daemon-export-ok
exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"