diff options
author | Silvino Silva <silvino@bk.ru> | 2018-04-12 00:31:07 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-04-12 00:31:07 +0100 |
commit | eafb8ac15aef8e13144c75f1d35b157ff0a9640f (patch) | |
tree | fa4fe96ecbee9443722c601ef5e5e2e707320846 /tools/conf/etc/rc.d/git-daemon | |
parent | 84ff969756dff7a67b80c10d3668f9945b52d91f (diff) | |
download | doc-eafb8ac15aef8e13144c75f1d35b157ff0a9640f.tar.gz |
fix git-daemon init script
Diffstat (limited to 'tools/conf/etc/rc.d/git-daemon')
-rwxr-xr-x | tools/conf/etc/rc.d/git-daemon | 3 |
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) |