#!/bin/sh # Usage # sudo -u tilekiln vector-update set -eu export LUA_PATH='/srv/vector.openstreetmap.org/osm2pgsql-themepark/lua/?.lua;/srv/vector.openstreetmap.org/spirit/?.lua;;' osm2pgsql-replication update \ -d "<%= @source_database %>" \ --max-diff-size "<%= @diff_size %>" \ --post-processing "<%= @post_processing %>" \ -- --expire-tiles=10-14 \ --expire-output="<%= @tiles_file %>"