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