X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/90e8109a883d6bbae266acf94a90b54526b3d443..9b07fc44c5c16e540f6831216c09b660b8a9f1a3:/cookbooks/overpass/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/overpass/recipes/default.rb b/cookbooks/overpass/recipes/default.rb index 880420226..c53153339 100644 --- a/cookbooks/overpass/recipes/default.rb +++ b/cookbooks/overpass/recipes/default.rb @@ -211,6 +211,14 @@ service "overpass-area-processor" do action [:enable] end +template "/etc/logrotate.d/overpass" do + source "logrotate.erb" + owner "root" + group "root" + mode "644" + variables :logdir => logdir +end + # Munin scripts %w[db_lag request_count].each do |name|