view gitd @ 613:c2879679114d draft

PP (uncommented safe defaults and added useragent pass-through)
author Nick <nick@somerandomnick.ano>
date Sun, 18 Sep 2011 08:57:34 +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)"