Commit 62d16ebe49c213aafd33f126b30d802c995e571d
1 parent
9d958d69
Exists in
master
and in
17 other branches
Pull unicorn attributes from 'unicorn' namespace
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/unicorn.rb
| @@ -35,8 +35,8 @@ unicorn_socket_dir = File.dirname(unicorn_listen_socket) | @@ -35,8 +35,8 @@ unicorn_socket_dir = File.dirname(unicorn_listen_socket) | ||
| 35 | end | 35 | end |
| 36 | end | 36 | end |
| 37 | 37 | ||
| 38 | -unicorn_listen_tcp = node['gitlab']['gitlab-core']['listen'] | ||
| 39 | -unicorn_listen_tcp << ":#{node['gitlab']['gitlab-core']['port']}" | 38 | +unicorn_listen_tcp = node['gitlab']['unicorn']['listen'] |
| 39 | +unicorn_listen_tcp << ":#{node['gitlab']['unicorn']['port']}" | ||
| 40 | 40 | ||
| 41 | unicorn_config File.join(gitlab_core_etc_dir, "unicorn.rb") do | 41 | unicorn_config File.join(gitlab_core_etc_dir, "unicorn.rb") do |
| 42 | listen( | 42 | listen( |