view gitd @ 1049:ac0597cce14e draft

[spoofsec]
author spoofsec <spoofsec@spoofsec.ano>
date Tue, 30 Oct 2012 06:45:53 +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