view gitd @ 1203:eeef7c9bc251 draft

Commiter: abs <post@abslimit.info> changed: db/usr/abslimit/git
author abs <abs@abslimit.info>
date Sun, 13 May 2018 15:26:47 +0300
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 "$@"