]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/default.rb
Restart apache when the URl rewriter changes
[chef.git] / cookbooks / planet / recipes / default.rb
index baa4ccedca2d08298a022b079709f9fc67719f09..9cc4301ef3cde75ae5e0ba12cee8726df2fa928b 100644 (file)
@@ -91,6 +91,7 @@ template "/usr/local/bin/apache-latest-planet-filename" do
   owner "root"
   group "root"
   mode 0o755
+  notifies :restart, "service[apache2]"
 end
 
 apache_module "cgid"