]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/recipes/default.rb
Update reverse DNS for private network
[chef.git] / cookbooks / squid / recipes / default.rb
index 9d9e211cf1efb480345b910b3d8d4942f629884c..5e07a4bdfb127777ee1670f0dbc76e4f8f98998c 100644 (file)
@@ -102,6 +102,7 @@ end
 service "squid" do
   action [:enable, :start]
   subscribes :restart, "systemd_service[squid]"
+  subscribes :restart, "directory[#{cache_dir}]"
   subscribes :reload, "template[/etc/squid/squid.conf]"
   subscribes :reload, "template[/etc/resolv.conf]"
 end