]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: only reload nginx after adding layers
authorGrant Slater <git@firefishy.com>
Sun, 5 Jun 2016 18:25:34 +0000 (19:25 +0100)
committerGrant Slater <git@firefishy.com>
Sun, 5 Jun 2016 18:25:34 +0000 (19:25 +0100)
cookbooks/imagery/resources/layer.rb

index 88e26cf2e19c9d12ee4b40393e6f38f5067b7a78..e6a78d32dc110ca5387da96bff199ce0ff92b4ab 100644 (file)
@@ -120,5 +120,5 @@ end
 
 def after_created
   notifies :create, "imagery_site[#{site}]"
 
 def after_created
   notifies :create, "imagery_site[#{site}]"
-  notifies :restart, "service[nginx]"
+  notifies :reload, "service[nginx]"
 end
 end