-if [ -e $EXPIRYFILE -a -e $RERENDEREXPIREDTRIGGERFILE ] ; then
- echo "Expiryfile 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 \
+if [ -e $EXPIRYFILE ] ; then
+ if [ -e $RERENDEREXPIREDTRIGGERFILE ] ; 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 \