sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action delete --rmemptydirs --minage 336 /var/lib/tirex/tiles/osm
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action delete --rmemptydirs --minage 336 /var/lib/tirex/tiles/osmde
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action delete --rmemptydirs --minage 336 /var/lib/tirex/tiles/osmhd
+sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action delete --rmemptydirs --minage 336 /var/lib/tirex/tiles/osmdehd
# Delete tiles in zoomlevel 15-20 that are older than 168 hours = 7 days
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osm
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmde
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmhd
+sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmdehd
# Delete all tiles in our bicycle/lecture hall overlay that are older
# than 24 hours as these are REALLY cheap to regenerate on the fly.
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 10-20 --action delete --rmemptydirs --minage 24 /var/lib/tirex/tiles/rrze-ovl
--limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \
--limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmhd.sh /var/lib/tirex/tiles/osmhd
+/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \
+ --limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmdehd.sh /var/lib/tirex/tiles/osmdehd
# Regenerate (part of) zoomlevel 13-14 tiles. Some of these are pretty expensive, so
# we rather rerender them scheduled than when they change (usually they really don't,
# it is 99 percent false alerts).
--limit 1000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
/home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action rerender \
--limit 1000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmhd.sh /var/lib/tirex/tiles/osmhd
+/home.local/osm/bin/osmtilecleanup.pl --zoom 13-14 --action rerender \
+ --limit 1000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmdehd.sh /var/lib/tirex/tiles/osmdehd
# Update tile stats for munin
tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osm.stats osm
tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmde.stats osmde
tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmhd.stats osmhd
+tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmdehd.stats osmdehd
DOW=`/bin/date '+%w'`
if [ "$DOW" == "6" -o "$DOW" == "3" ] ; then
tirex-batch --prio=${PRIO} --expire=+14400 map=osm bbox=10.93,49.37,11.14,49.63 z=13-19
tirex-batch --prio=${PRIO} --expire=+14400 map=osmde bbox=10.93,49.37,11.14,49.63 z=13-19
tirex-batch --prio=${PRIO} --expire=+14400 map=osmhd bbox=10.93,49.37,11.14,49.63 z=13-19
+tirex-batch --prio=${PRIO} --expire=+14400 map=osmdehd bbox=10.93,49.37,11.14,49.63 z=13-19
echo "Daily maintenance finished: `date`"