]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/logrotate.squid.erb
nominatim: install secondary importance file
[chef.git] / cookbooks / tilecache / templates / default / logrotate.squid.erb
diff --git a/cookbooks/tilecache/templates/default/logrotate.squid.erb b/cookbooks/tilecache/templates/default/logrotate.squid.erb
deleted file mode 100644 (file)
index 0c45dca..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# DO NOT EDIT - This file is being maintained by Chef
-
-/var/log/squid/*.log {
-  daily
-  compress
-  compresscmd /usr/bin/xz
-  uncompresscmd /usr/bin/unxz
-  compressext .xz
-  rotate 2
-  missingok
-  nocreate
-  sharedscripts
-  postrotate
-    test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
-  endscript
-  lastaction
-    /usr/bin/rsync --preallocate /var/log/squid/access.log.1.xz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-1 days" +%Y-%m-%d`.xz || true
-  endscript
-}