annotate gitd @ 798:4a4ba4a2061d draft

updates to peer2anonet
author d3v11 <d3v11@d3v11.ano>
date Mon, 28 Nov 2011 19:49:16 +0000
parents 17b7c922f9fb
children fb73b7e956ec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
5e53ef653769 put gitd under revision control
Nick <nick@somerandomnick.ano>
parents:
diff changeset
1 #!/bin/sh
21
ffd1b6e28335 fixed a stupid bug
Nick <nick@somerandomnick.ano>
parents: 9
diff changeset
2 repodir="$(dirname $0)"
73
17b7c922f9fb Now, gitd automatically marks resdb as exportable, saving manual labor.
Nick <nick@somerandomnick.ano>
parents: 21
diff changeset
3 touch "$repodir"/.git/git-daemon-export-ok
9
8f9565400a0f added configure script (so you don't have to modify gitd itself)
Nick <nick@somerandomnick.ano>
parents: 3
diff changeset
4 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)"