X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..9926f6cf33e0e2d1fdbf7cfefd0ced11a2b60296:/cookbooks/tile/templates/default/replicate.erb diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index 4e96d767d..ea0e100cf 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -12,16 +12,8 @@ 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 -<% if @postgresql_version >= 12 -%> - -# Disable JIT and parallel workers in postgres -export PGOPTIONS="-c jit=off -c max_parallel_workers_per_gather=0" -<% end -%> # Install exit handler trap onexit EXIT