view gitd @ 1195:5864e4d57d8a draft

add IPv6 and git addresses
author cathugger <cathugger@cock.li>
date Fri, 10 Mar 2017 04:07:50 +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 "$@"