]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/recipes/default.rb
Use upstream packages for promscale extension
[chef.git] / cookbooks / overpass / recipes / default.rb
index 8804202268c5500af71f368e47e5f13cb36e0bc2..c53153339c47c0a1730dd6a0b3811380d765486e 100644 (file)
@@ -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|