]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/definitions/nginx_site.rb
Configure HDD temperature monitoring for all directly attached disks
[chef.git] / cookbooks / nginx / definitions / nginx_site.rb
index 64d33db3eaf8766ceb50bf5077133277cf6a2cc9..f6e1f3a4d820e4f647d740c7977771a64b5ed19c 100644 (file)
@@ -30,7 +30,7 @@ define :nginx_site, :action => [ :create ], :variables => {} do
       group "root"
       mode 0644
       variables params[:variables].merge(:name => name, :directory => directory)
-      notifies :reload, "service[nginx]"
+      notifies :restart, "service[nginx]"
     end
   elsif site_action.include?(:delete)
     file "/etc/nginx/conf.d/#{name}.conf" do