Fix permissions gitolite
This commit is contained in:
parent
d5fea7e6c3
commit
f58b9b5fff
@ -239,6 +239,10 @@ fi
|
|||||||
spawn-fcgi -s /run/fcgiwrap/fcgiwrap.socket -f /usr/bin/fcgiwrap
|
spawn-fcgi -s /run/fcgiwrap/fcgiwrap.socket -f /usr/bin/fcgiwrap
|
||||||
chmod 660 /run/fcgiwrap/fcgiwrap.socket
|
chmod 660 /run/fcgiwrap/fcgiwrap.socket
|
||||||
|
|
||||||
|
# fix permissions gitolite
|
||||||
|
chown git:git /var/lib/git/.gitolite.rc
|
||||||
|
chmod 640 /var/lib/git/.gitolite.rc
|
||||||
|
|
||||||
# Start git-daemon
|
# Start git-daemon
|
||||||
git daemon --detach --reuseaddr --base-path=/var/lib/git/repositories /var/lib/git/repositories
|
git daemon --detach --reuseaddr --base-path=/var/lib/git/repositories /var/lib/git/repositories
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user