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
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
if [ -e $EXPIRYFILE ] ; then
echo "Expiryfile exists. Telling tirex to rerender the tiles mentioned there..."
echo "Number of lines: `wc -l $EXPIRYFILE`"
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 \
/var/lib/tirex/tiles/osm
cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \
--action rerenderexpiredlist --zoom 13-20 \