view gitd @ 145:c27cfcd703bf draft

Oops, you have to get the syntax right if you're hoping for it to work.
author Nick <nick@somerandomnick.ano>
date Tue, 14 Sep 2010 01:13:33 +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)"