summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 02:08:01 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2014-10-18 02:08:01 -0700
commit0ff6105589960bc617b8e974874f1f22a5841ad0 (patch)
tree7609d1d6be58ebf715bd1ed0be732eca92849ac8
parent564c4138e914abab570ad92c4850dd2b35d37198 (diff)
downloadgitlab-ce-0ff6105589960bc617b8e974874f1f22a5841ad0.tar.gz
add missing configure Redis to use sockets
Add details from 7.2-to-7.3.md. Replaces https://github.com/gitlabhq/gitlabhq/pull/8047.
-rw-r--r--doc/update/6.x-or-7.x-to-7.4.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/update/6.x-or-7.x-to-7.4.md b/doc/update/6.x-or-7.x-to-7.4.md
index e923060223b..4b7ed03f49e 100644
--- a/doc/update/6.x-or-7.x-to-7.4.md
+++ b/doc/update/6.x-or-7.x-to-7.4.md
@@ -99,6 +99,8 @@ sudo apt-get install pkg-config cmake
sed 's/^port .*/port 0/' /etc/redis/redis.conf.orig | sudo tee /etc/redis/redis.conf
# Enable Redis socket for default Debian / Ubuntu path
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).
+ sudo sed -i '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf
# Activate the changes to redis.conf
sudo service redis-server restart
# Add git to the redis group