Fix permissions gitolite
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user