]> git.openstreetmap.org Git - chef.git/commitdiff
Remvoe temporary hack to restart squid after /dev/shm remount
authorTom Hughes <tom@compton.nu>
Thu, 14 Nov 2019 20:39:19 +0000 (20:39 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 14 Nov 2019 20:39:19 +0000 (20:39 +0000)
cookbooks/squid/recipes/default.rb

index ce1edf966a4210efa0f59d3638debe0fb230e1d2..c2bd5b834c6b5e49b56f188de7c8f09df3b6adc5 100644 (file)
@@ -124,14 +124,6 @@ log "squid-restart" do
   end
 end
 
   end
 end
 
-log "squid-restart-shm" do
-  message "Restarting squid due to remounted /dev/shm"
-  notifies :restart, "service[squid]"
-  not_if do
-    File.exist?("/dev/shm/squid-squid-page-pool.shm")
-  end
-end
-
 munin_plugin "squid_cache"
 munin_plugin "squid_times"
 munin_plugin "squid_icp"
 munin_plugin "squid_cache"
 munin_plugin "squid_times"
 munin_plugin "squid_icp"