]> git.openstreetmap.org Git - chef.git/blob - cookbooks/vectortile/templates/default/vector-update-notile.erb
Create a new vectortile role
[chef.git] / cookbooks / vectortile / templates / default / vector-update-notile.erb
1 #!/bin/sh
2
3 # Usage
4 # sudo -u tilekiln vector-update
5
6 set -eu
7
8 export LUA_PATH='/srv/vector.openstreetmap.org/osm2pgsql-themepark/lua/?.lua;/srv/vector.openstreetmap.org/spirit/?.lua;;'
9
10 osm2pgsql-replication update \
11   -d "<%= @source_database %>" \
12   --max-diff-size "<%= @diff_size %>"