]> git.openstreetmap.org Git - chef.git/commitdiff
Reload apache when forum code changes
authorTom Hughes <tom@compton.nu>
Sat, 22 Oct 2016 14:19:15 +0000 (15:19 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 22 Oct 2016 14:19:15 +0000 (15:19 +0100)
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