]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
tile: send replicate logs to systemd journald
[chef.git] / cookbooks / tile / recipes / default.rb
index d1a394b2f8b4532b1d569a0e25ea128fe85aa241..9f82536e62cd853c8ca6b6fa344a15a4c82c4a44 100644 (file)
@@ -645,11 +645,9 @@ service "replicate" do
   subscribes :restart, "systemd_service[replicate]"
 end
 
-template "/etc/logrotate.d/replicate" do
-  source "replicate.logrotate.erb"
-  owner "root"
-  group "root"
-  mode "644"
+# FIXME: cleanup old replicate logrotate
+file "/etc/logrotate.d/replicate" do
+  action :delete
 end
 
 template "/usr/local/bin/render-lowzoom" do