about summary refs log tree commit diff stats
path: root/tools/conf/etc/rc.d/git-daemon
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-04-12 00:31:07 +0100
committerSilvino Silva <silvino@bk.ru>2018-04-12 00:31:07 +0100
commiteafb8ac15aef8e13144c75f1d35b157ff0a9640f (patch)
treefa4fe96ecbee9443722c601ef5e5e2e707320846 /tools/conf/etc/rc.d/git-daemon
parent84ff969756dff7a67b80c10d3668f9945b52d91f (diff)
downloaddoc-eafb8ac15aef8e13144c75f1d35b157ff0a9640f.tar.gz
fix git-daemon init script
Diffstat (limited to 'tools/conf/etc/rc.d/git-daemon')
-rwxr-xr-xtools/conf/etc/rc.d/git-daemon3
1 files changed, 2 insertions, 1 deletions
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)