view gitd @ 1084:93106436f24f draft

allow arguments for ./git-commit and ./gitd
author SeekingFor <nobody@nowhere>
date Sat, 16 Mar 2013 13:03:25 +0000
parents fb73b7e956ec
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 "$@"