]> git.openstreetmap.org Git - chef.git/commitdiff
squid: force restart on config change. Reload unsafe
authorGrant Slater <git@firefishy.com>
Mon, 25 Nov 2019 22:17:12 +0000 (22:17 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 25 Nov 2019 22:17:12 +0000 (22:17 +0000)
cookbooks/squid/recipes/default.rb

index 2d0c3efe3e1847b6727c47a6c310888a2ea48a82..dae04ddeb4eb7393ebf22ee3d7189cf84cecb990 100644 (file)
@@ -108,7 +108,7 @@ end
 service "squid" do
   action [:enable, :start]
   subscribes :restart, "systemd_service[squid]"
-  subscribes :reload, "template[/etc/squid/squid.conf]"
+  subscribes :restart, "template[/etc/squid/squid.conf]"
   subscribes :reload, "template[/etc/resolv.conf]"
 end