From 5e0f97a2ffbd2877a866bae6987608f31ab84884 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 2 Sep 2014 13:52:20 +0200 Subject: [PATCH] Use SIGHUP for NGINX configuration changes --- CHANGELOG | 1 + files/gitlab-cookbooks/gitlab/recipes/nginx.rb | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 404696a..9f17573 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ omnibus-gitlab repository. - Add a Centos 7 SELinux module for ssh-keygen permissions - Log `rake db:migrate` output in /tmp - Support `issue_closing_pattern` via gitlab.rb (Michael Hill) +- Use SIGHUP for zero-downtime NGINX configuration changes 7.2.0 - Pass environment variables to Unicorn and Sidekiq (Chris Portman) diff --git a/files/gitlab-cookbooks/gitlab/recipes/nginx.rb b/files/gitlab-cookbooks/gitlab/recipes/nginx.rb index 209ccb8..10537a6 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/nginx.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/nginx.rb @@ -68,6 +68,7 @@ end runit_service "nginx" do down node['gitlab']['nginx']['ha'] + restart_command 'h' # Restart NGINX using SIGHUP options({ :log_directory => nginx_log_dir }.merge(params)) -- libgit2 0.21.2