comparison 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
comparison
equal deleted inserted replaced
1083:0264f4b87684 1084:93106436f24f
1 #!/bin/sh 1 #!/bin/sh
2 repodir="$(dirname $0)" 2 repodir="$(dirname $0)"
3 touch "$repodir"/.git/git-daemon-export-ok 3 touch "$repodir"/.git/git-daemon-export-ok
4 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)" --reuseaddr 4 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)" --reuseaddr "$@"