view gitd @ 107:f442f7404e49 draft

anged ip in home page
author root <root@gw-remote.ritirata.org>
date Tue, 10 Aug 2010 21:46:35 +0400
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)"