]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/forum/recipes/default.rb
Reload apache when forum code changes
[chef.git] / cookbooks / forum / recipes / default.rb
index ec69ac7f2c6cf39d102cf537bd55f0dfdd52957d..907b1f04fb89743bb873e44ad6d9a5e5a6450aa2 100644 (file)
@@ -52,6 +52,7 @@ git "/srv/forum.openstreetmap.org/html/" do
   depth 1
   user "forum"
   group "forum"
+  notifies :reload, "service[apache2]"
 end
 
 directory "/srv/forum.openstreetmap.org/html/cache/" do