view gitd @ 951:1ec03f851ccf draft

can use exec instead of csh for --install-daemontools. thanks AP :-)
author d3v11 <d3v11@d3v11.ano>
date Sat, 19 May 2012 21:15:09 +0000
parents fb73b7e956ec
children 93106436f24f
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)" --reuseaddr