about summary refs log tree commit diff stats
path: root/tools/conf/etc/rc.d/git-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/rc.d/git-daemon')
-rwxr-xr-xtools/conf/etc/rc.d/git-daemon5
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)