view gitd @ 833:8fa5cedf4bd7 draft

initiating git repo
author d0s <d0s@d0s.ano>
date Wed, 28 Dec 2011 12:19:11 +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)"