#!/bin/sh set -eu 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 %>