]> git.openstreetmap.org Git - chef.git/blob - cookbooks/vectortile/templates/default/vector-update-tile.erb
prometheus: set GOMAXPROCS=1 per smokeping recommendation
[chef.git] / cookbooks / vectortile / templates / default / vector-update-tile.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;;'
9
10 cd "<%= @expiry_dir %>"
11 osm2pgsql-replication update \
12   -d "<%= @source_database %>" \
13   --max-diff-size "<%= @diff_size %>" \
14   --post-processing "<%= @post_processing %>"