X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a48d3c6dbc350bfb430691dbc128ff06ad8f979a..58368b10fb37cfcd56738324f90942a8fd8e3793:/cookbooks/tile/templates/default/replicate.erb?ds=sidebyside diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index 83fec6fb7..ea0e100cf 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -12,9 +12,6 @@ function onexit { [ -f sequence-prev.txt ] && mv sequence-prev.txt sequence.txt } -# Send output to the log -exec > /var/log/tile/replicate.log 2>&1 - # Change to the replication state directory cd /var/lib/replicate @@ -31,7 +28,7 @@ do cp sequence.txt sequence-prev.txt # Fetch the next set of changes - pyosmium-get-changes --sequence-file=sequence.txt --outfile=${file} + pyosmium-get-changes --server=<%= node[:tile][:replication][:url] %> --sequence-file=sequence.txt --outfile=${file} # Save exit status status=$?