view gitd @ 669:271fb597efc9 draft

improved splice3's code. see contrib/splice3/CHANGES
author d3v11 <d3v11@d3v11.ano>
date Fri, 14 Oct 2011 18:19:47 -0500
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)"