]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/vectortile/templates/default/vector-update-notile.erb
Send traffic for RFC1918 addresses to the main routing table
[chef.git] / cookbooks / vectortile / templates / default / vector-update-notile.erb
index cd718789ca58b3aeecb93df11b54415f5c665abb..844d9d4faa0f64fa264cf79fea97da6473d61806 100644 (file)
@@ -1,12 +1,13 @@
 #!/bin/sh
 
 # Usage
-# sudo -u tilekiln vector-update
+# sudo -u tileupdate vector-update
 
 set -eu
 
-export LUA_PATH='/srv/vector.openstreetmap.org/osm2pgsql-themepark/lua/?.lua;/srv/vector.openstreetmap.org/spirit/?.lua;;'
+export LUA_PATH='/srv/vector.openstreetmap.org/osm2pgsql-themepark/lua/?.lua;;'
 
+cd "<%= @expiry_dir %>"
 osm2pgsql-replication update \
   -d "<%= @source_database %>" \
   --max-diff-size "<%= @diff_size %>"