view gitd @ 31:15b952d82e4c draft

PHP gets the environment in $_SERVER, not $ENV.
author Nick <nick@somerandomnick.ano>
date Fri, 11 Jun 2010 09:22:45 +0000
parents ffd1b6e28335
children 17b7c922f9fb
line wrap: on
line source

#!/bin/sh
repodir="$(dirname $0)"
exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"