]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/vectortile/templates/default/tiles-rerender.erb
Send traffic for RFC1918 addresses to the main routing table
[chef.git] / cookbooks / vectortile / templates / default / tiles-rerender.erb
index f46b6f1f616a7ae8029a3a61ead1234ea7abb481..6c01b27f6f4a7fec493fd2704e09ffc2b5bb3456 100644 (file)
@@ -1,7 +1,11 @@
 #!/bin/sh
 set -eu
-<%= @tilekiln_bin %> generate tiles \
+
+cd "<%= @expiry_dir %>"
+
+wc -l z*.txt
+cat z*.txt | <%= @tilekiln_bin %> generate tiles \
 --source-dbname "<%= @source_database %>" \
 --storage-dbname "<%= @storage_database %>" \
 --num-threads "<%= node[:vectortile][:replication][:threads] %>" \
---config <%= @config_path %> < <%= @tiles_file %>
+--config <%= @config_path %>