Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ ! -d /db/db ] ; then
META="--meta=$OVERPASS_META"
fi
mkdir -p /db/db \
&& /app/bin/download_clone.sh --db-dir=/db/db --source=http://dev.overpass-api.de/api_drolbr/ $META "--compresion_method=$OVERPASS_COMPRESSION" \
&& /app/bin/download_clone.sh --db-dir=/db/db --source=http://dev.overpass-api.de/api_drolbr/ $META \
&& cp -r /app/src/rules /db/db \
&& chown -R overpass:overpass /db \
&& echo "Overpass ready, you can start your container with docker start"
Expand All @@ -23,7 +23,7 @@ if [ ! -d /db/db ] ; then

if [ "$OVERPASS_MODE" = "init" ]; then
lftp -c "get -c \"$OVERPASS_PLANET_URL\" -o /db/planet; exit" \
&& /app/bin/init_osm3s.sh /db/planet /db/db /app "--meta=$OVERPASS_META" \
&& /app/bin/init_osm3s.sh /db/planet /db/db /app "--meta=$OVERPASS_META" "--compresion_method=$OVERPASS_COMPRESSION" \
Copy link
Contributor

@mmd-osm mmd-osm Mar 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... and the parameter should be --compression-method= with a dash (not an underscore, the usage text is wrong) and two "s" in compression.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll create a seperate pull request for usage text

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#381 it is

&& echo $OVERPASS_PLANET_SEQUENCE_ID > /db/db/replicate_id \
&& rm /db/planet \
&& cp -r /app/src/rules /db/db \
Expand Down