view gitd @ 1124:0c1056b329b9 draft

client port and peering subnet
author ntma <nobody@nowhere>
date Tue, 25 Jun 2013 22:03:39 +0000
parents 93106436f24f
children
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 "$@"