view gitd @ 825:88c2bd1a286a draft

added scripts/git-pull :-). ./scripts/git-pull $PEER_NAME example: ./scripts/git-pull d3v11
author d3v11 <d3v11@d3v11.ano>
date Sat, 17 Dec 2011 04:17:22 +0000
parents 17b7c922f9fb
children fb73b7e956ec
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)"