view gitd @ 1223:4ad373a12a0a draft

adding 21.22.2.0/24
author opal hart <opal@wowana.me>
date Wed, 26 Sep 2018 22:49:03 +0000
parents 93106436f24f
children
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 "$@"