fi
echo "Update seems to have been successful."
grep timestamp $OSMOSISWORKDIR/state.txt | sed -e 's/timestamp=//g' -e 's/T/ /g' -e 's/\\:/:/g' > $WEBSTATEFILE
+echo -n "Updated database: now at upstream state of "
+cat $WEBSTATEFILE
+touch /var/lib/tirex/tiles/planet-import-complete
if [ -e $EXPIRYFILE ] ; then
echo "Expiryfile exists. Telling tirex to rerender the tiles mentioned there..."
echo "Number of lines: `wc -l $EXPIRYFILE`"
/var/lib/tirex/tiles/osm
cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \
--action rerenderexpiredlist --zoom 13-20 \
- --rrs /home.local/osm/bin/osmrerenderwrapper.sh \
+ --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh \
/var/lib/tirex/tiles/osmde
rm $EXPIRYFILE
fi