X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/228e08d8fafef261abc55efb687ec3628515d4de..6b8e67103d90b327fb6eb1dd859cfd7f7d18340f:/cookbooks/tilecache/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 41a4e7f71..0a02e1567 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -138,3 +138,7 @@ tilerenders.each do |render| conf_variables :host => render[:fqdn] end end + +Dir.glob("/var/log/nginx/access.log*") do |log| + File.unlink(log) +end