X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/ba17fa1c38b58aafdc32e0859ba4fda12502d8ec..b88032f37b95d57ed9d27d31eee1afaa3e158e02:/cookbooks/tile/templates/default/replicate.erb diff --git a/cookbooks/tile/templates/default/replicate.erb b/cookbooks/tile/templates/default/replicate.erb index f996afb04..5d940375b 100644 --- a/cookbooks/tile/templates/default/replicate.erb +++ b/cookbooks/tile/templates/default/replicate.erb @@ -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