From 705237446adacea44302692c8dfb0405dbfb2abd Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde Date: Mon, 8 Nov 2021 22:18:47 +0100 Subject: [PATCH] Fix update script no longer working (fixes #222) --- Dockerfile | 1 + openstreetmap-tiles-update-expire | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2568afa..b437be5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -199,6 +199,7 @@ COPY --from=compiler-modtile-renderd /root/mod_tile/mod-tile_1-1_amd64.deb . RUN dpkg -i mod-tile_1-1_amd64.deb \ && ldconfig \ && rm mod-tile_1-1_amd64.deb +COPY --from=compiler-modtile-renderd /root/mod_tile/osmosis-db_replag /usr/bin/osmosis-db_replag # Install stylesheet COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/src/openstreetmap-carto diff --git a/openstreetmap-tiles-update-expire b/openstreetmap-tiles-update-expire index a298387..4a0e7e4 100644 --- a/openstreetmap-tiles-update-expire +++ b/openstreetmap-tiles-update-expire @@ -7,9 +7,7 @@ set -e # and other things directly from this script when run from cron. # Change the actual location to wherever installed locally. #------------------------------------------------------------------------------ -export PATH=.:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ACCOUNT=renderer -cd /home/$ACCOUNT/src/mod_tile/ #------------------------------------------------------------------------------ # Extra OSM2PGSQL_OPTIONS may need setting if a tag transform script is