From 3b4f1e0234385343a166f170aed74325f7712676 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 22 Oct 2016 15:19:15 +0100 Subject: [PATCH 1/1] Reload apache when forum code changes --- cookbooks/forum/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.43.2