view gitd @ 563:7bf833061509 draft

register a new autonomous system
author Astrosmash <astrosmash@astrosmash.ano>
date Mon, 18 Jul 2011 20:53:05 +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)"