From eafb8ac15aef8e13144c75f1d35b157ff0a9640f Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Thu, 12 Apr 2018 00:31:07 +0100 Subject: fix git-daemon init script --- tools/conf/etc/rc.d/git-daemon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/conf/etc/rc.d/git-daemon') diff --git a/tools/conf/etc/rc.d/git-daemon b/tools/conf/etc/rc.d/git-daemon index 8aa9d81..0daf522 100755 --- a/tools/conf/etc/rc.d/git-daemon +++ b/tools/conf/etc/rc.d/git-daemon @@ -6,7 +6,8 @@ PROG=$(git --exec-path)/${NAME} USER=www GROUP=www PIDFILE=/var/run/git-daemon.pid -OPTS="--verbose --reuseaddr --base-path=/srv/gitolite/repositories" +REPOS=/srv/gitolite/repositories +OPTS="--verbose --reuseaddr --base-path=${REPOS}" case $1 in start) -- cgit 1.4.1-2-gfad0