]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/recipes/default.rb
Restart apache when taginfo config is changed.
[chef.git] / cookbooks / taginfo / recipes / default.rb
index 4ef8bdc29421e8095c490ed7831e97e46a74c75b..2b85f0141b28d253a9771a15f3864567527fc385 100644 (file)
@@ -134,6 +134,7 @@ node[:taginfo][:sites].each do |site|
     group "taginfo"
     mode 0644
     content settings
+    notifies :restart, "service[apache2]"
   end
 
   execute "#{directory}/taginfo/tagstats/Makefile" do