Commit 5e0f97a2ffbd2877a866bae6987608f31ab84884
1 parent
8c605bed
Exists in
master
Use SIGHUP for NGINX configuration changes
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
CHANGELOG
@@ -8,6 +8,7 @@ omnibus-gitlab repository. | @@ -8,6 +8,7 @@ omnibus-gitlab repository. | ||
8 | - Add a Centos 7 SELinux module for ssh-keygen permissions | 8 | - Add a Centos 7 SELinux module for ssh-keygen permissions |
9 | - Log `rake db:migrate` output in /tmp | 9 | - Log `rake db:migrate` output in /tmp |
10 | - Support `issue_closing_pattern` via gitlab.rb (Michael Hill) | 10 | - Support `issue_closing_pattern` via gitlab.rb (Michael Hill) |
11 | +- Use SIGHUP for zero-downtime NGINX configuration changes | ||
11 | 12 | ||
12 | 7.2.0 | 13 | 7.2.0 |
13 | - Pass environment variables to Unicorn and Sidekiq (Chris Portman) | 14 | - Pass environment variables to Unicorn and Sidekiq (Chris Portman) |
files/gitlab-cookbooks/gitlab/recipes/nginx.rb
@@ -68,6 +68,7 @@ end | @@ -68,6 +68,7 @@ end | ||
68 | 68 | ||
69 | runit_service "nginx" do | 69 | runit_service "nginx" do |
70 | down node['gitlab']['nginx']['ha'] | 70 | down node['gitlab']['nginx']['ha'] |
71 | + restart_command 'h' # Restart NGINX using SIGHUP | ||
71 | options({ | 72 | options({ |
72 | :log_directory => nginx_log_dir | 73 | :log_directory => nginx_log_dir |
73 | }.merge(params)) | 74 | }.merge(params)) |