Commit 5e0f97a2ffbd2877a866bae6987608f31ab84884

Authored by Jacob Vosmaer
1 parent 8c605bed
Exists in master

Use SIGHUP for NGINX configuration changes

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