X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8e9e103e9f748fe7a104c4fba00cc72a847e2d3a..55ddc5ad47a565d50f805272a60f238fae51aaf4:/cookbooks/tile/templates/default/replicate.erb diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index 862b6a5e7..5d940375b 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -7,7 +7,7 @@ # osmosis --read-replication-interval-init # Send output to the log -exec > /var/log/replicate/replicate.log 2>&1 +exec > /var/log/tile/replicate.log 2>&1 # Change to the replication state directory cd /var/lib/replicate @@ -59,7 +59,7 @@ do <% end -%> # Expire tiles which are touched by the changes - /usr/local/bin/expire-tiles ${file} > /dev/null 2>&1 & + sudo -u www-data /usr/local/bin/expire-tiles ${file} > /dev/null 2>&1 & fi # Delete old downloads