diff options
Diffstat (limited to 'tools/conf/etc/rc.d/git-daemon')
-rwxr-xr-x | tools/conf/etc/rc.d/git-daemon | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/conf/etc/rc.d/git-daemon b/tools/conf/etc/rc.d/git-daemon index 8aa9d81..fc43cbf 100755 --- a/tools/conf/etc/rc.d/git-daemon +++ b/tools/conf/etc/rc.d/git-daemon @@ -4,9 +4,10 @@ SSD=/sbin/start-stop-daemon NAME=git-daemon PROG=$(git --exec-path)/${NAME} USER=www -GROUP=www +GROUP=gitolite 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) |