Restart apache when the URl rewriter changes
authorTom Hughes <tom@compton.nu>
Wed, 20 Feb 2019 22:46:08 +0000 (22:46 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 20 Feb 2019 22:47:32 +0000 (22:47 +0000)
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"