X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/ba17fa1c38b58aafdc32e0859ba4fda12502d8ec..294adb0cb8e908dc374de0b63328538a0b568896:/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