From be2fce5628f4cbc95ce61bab13e1e40d0880f018 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 31 Jan 2014 15:24:36 +0100 Subject: [PATCH] Make options in redis.conf configurable --- files/gitlab-cookbooks/gitlab/templates/default/redis.conf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/redis.conf.erb b/files/gitlab-cookbooks/gitlab/templates/default/redis.conf.erb index 2e3239c..b92029f 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/redis.conf.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/redis.conf.erb @@ -22,7 +22,7 @@ pidfile /var/run/redis.pid # Accept connections on the specified port, default is 6379. # If port 0 is specified Redis will not listen on a TCP socket. -port 6379 +port <%= node['gitlab']['redis']['port'] %> # By default Redis listens for connections from all the network interfaces # available on the server. It is possible to listen to just one or multiple @@ -32,7 +32,7 @@ port 6379 # Examples: # # bind 192.168.1.100 10.0.0.1 -# bind 127.0.0.1 +bind 127.0.0.1 # Specify the path for the unix socket that will be used to listen for # incoming connections. There is no default, so Redis will not listen @@ -155,7 +155,7 @@ dbfilename dump.rdb # The Append Only File will also be created inside this directory. # # Note that you must specify a directory here, not a file name. -dir ./ +dir <%= node['gitlab']['redis']['dir'] %> ################################# REPLICATION ################################# -- libgit2 0.21.2