annotate gitd @ 1260:f5ad11b817f1 draft default tip master

switched to using the git subdomain for git repo url
author epoch <epoch@hack.thebackupbox.net>
date Sat, 09 Oct 2021 09:21:28 +0000
parents 93106436f24f
children
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
1084
93106436f24f allow arguments for ./git-commit and ./gitd
SeekingFor <nobody@nowhere>
parents: 935
diff changeset
4 exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)" --reuseaddr "$@"