From c1cfefc48896359467ab12bf6e69d9d009a4ea39 Mon Sep 17 00:00:00 2001 From: User for running Openstreetmap-things Date: Mon, 6 Jun 2016 12:23:12 +0200 Subject: [PATCH] change to only touching tiles instead of directly triggering a rerender - the actual rerender then gets triggered by mod_tile when the tile is requested. --- scripts/doosmupdate.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/doosmupdate.sh b/scripts/doosmupdate.sh index 3ebe00b..e7a447f 100755 --- a/scripts/doosmupdate.sh +++ b/scripts/doosmupdate.sh @@ -76,15 +76,15 @@ if [ -e $EXPIRYFILE ] ; then echo "Expiryfile and triggerfile exists. Telling tirex to rerender the tiles mentioned there..." echo "Number of lines: `wc -l $EXPIRYFILE`" # Used to be zoom 13-20 but that causes too much load. Reduced to 15-20. - # Trying completely without. Lots of load, way too many false positives. -unrz191 2015-09-04 - cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \ - --action rerenderexpiredlist --zoom 15-20 \ - --rrs /home.local/osm/bin/osmrerenderwrapper.sh \ + cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \ + --action touchexpiredlist --zoom 15-20 \ /var/lib/tirex/tiles/osm - cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \ - --action rerenderexpiredlist --zoom 15-20 \ - --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh \ + cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \ + --action touchexpiredlist --zoom 15-20 \ /var/lib/tirex/tiles/osmde + cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \ + --action touchexpiredlist --zoom 15-20 \ + /var/lib/tirex/tiles/osmhd else echo "Expiryfile exists but rerendering is disabled." fi -- 2.25.1