git_chroot

Create chroot for git-daemon(1)
Log | Files | Refs | README | LICENSE

commit 87ad809637510b36a7391ec0df98e82366b1c099
parent 4ab7504c8824a507e9a7df3bf00d2e1d70e70714
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Fri, 19 Nov 2021 18:38:32 +0000

use /var/git as default directory

Diffstat:
Mgitdaemon_chroot.sh | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gitdaemon_chroot.sh b/gitdaemon_chroot.sh @@ -14,11 +14,7 @@ if test $(id -u) -ne 0; then exit 1 fi -# -# By default we will serve files from the same location that gotweb expects -# repositories. -# -local default=/var/www/got +local default=/var/git read CHROOT?"chroot install directory [$default]: " : ${CHROOT:=$default}