view gitd @ 334:5a90a10c2aee draft

Added lynx.ano to git repositories on anonet2.org/services
author lex <lex@lynx.ano>
date Fri, 07 Jan 2011 05:07:16 -0600
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)"