Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
This commit is contained in:
commit
a565c51b86
1 changed files with 11 additions and 0 deletions
|
@ -150,6 +150,17 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
|
|||
|
||||
# Enable Redis socket for default Debian / Ubuntu path
|
||||
echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf
|
||||
# Grant permission to the socket to all members of the redis group
|
||||
echo 'unixsocketperm 770' | sudo tee -a /etc/redis/redis.conf
|
||||
|
||||
# Create the directory which contains the socket
|
||||
mkdir /var/run/redis
|
||||
chown redis:redis /var/run/redis
|
||||
chmod 755 /var/run/redis
|
||||
# Persist the directory which contains the socket, if applicable
|
||||
if [ -d /etc/tmpfiles.d ]; then
|
||||
echo 'd /var/run/redis 0755 redis redis 10d -' | sudo tee -a /etc/tmpfiles.d/redis.conf
|
||||
fi
|
||||
|
||||
# Activate the changes to redis.conf
|
||||
sudo service redis-server restart
|
||||
|
|
Loading…
Reference in a new issue