fix permission issue in upgrade guides
This commit is contained in:
parent
e3bd17a7ba
commit
ace045499a
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
||||||
# Enable Redis socket for default Debian / Ubuntu path
|
# Enable Redis socket for default Debian / Ubuntu path
|
||||||
echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf
|
echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf
|
||||||
# Be sure redis group can write to the socket, enable only if supported (>= redis 2.4.0).
|
# Be sure redis group can write to the socket, enable only if supported (>= redis 2.4.0).
|
||||||
sed -i '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf
|
sudo sed -i '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf
|
||||||
# Activate the changes to redis.conf
|
# Activate the changes to redis.conf
|
||||||
sudo service redis-server restart
|
sudo service redis-server restart
|
||||||
# Add git to the redis group
|
# Add git to the redis group
|
||||||
|
|
Loading…
Reference in a new issue