view gitd @ 119:045304c9a6dc draft

Committer: DarkF On branch master Your branch is ahead of 'origin/master' by 1 commit. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: db/usr/DarkF/git
author Federico Cossu <federico@Oro.localdomain>
date Fri, 20 Aug 2010 00:23:22 +0200
parents 17b7c922f9fb
children fb73b7e956ec
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)"