From: Tom Hughes Date: Sat, 22 Oct 2016 14:19:15 +0000 (+0100) Subject: Reload apache when forum code changes X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3b4f1e0234385343a166f170aed74325f7712676?hp=bc9c10376a2baf70dd77d12fb93326143a738f41 Reload apache when forum code changes --- diff --git a/cookbooks/forum/recipes/default.rb b/cookbooks/forum/recipes/default.rb index ec69ac7f2..907b1f04f 100644 --- a/cookbooks/forum/recipes/default.rb +++ b/cookbooks/forum/recipes/default.rb @@ -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