view gitd @ 1148:5c239f21ff7e draft

fixed a bug where I used a literal instead of one of the user defined variables (thx mkz)
author epoch <epoch@hacking.allowed.org>
date Mon, 04 Nov 2013 11:56:20 +0000
parents 93106436f24f
children
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)" --reuseaddr "$@"