view gitd @ 1041:7d7befd08968 draft

[peer2anonet] ip addr add (thanks talamon)
author d3v11 <d3v11@d3v11.ano>
date Mon, 29 Oct 2012 04:39:39 +0000
parents fb73b7e956ec
children 93106436f24f
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