view gitd @ 201:f1953ef929ec draft

updated a2.o for a1 wiki mirror
author Nick <nick@somerandomnick.ano>
date Thu, 21 Oct 2010 15:45:09 +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)"