From ba3023dfa945b4ddb45f1004a7df41b059b9da14 Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 9 Mar 2022 20:48:05 -0700 Subject: [PATCH] Removing error checking for imports. --- scripts/ubuntu_20.04_install_map.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ubuntu_20.04_install_map.sh b/scripts/ubuntu_20.04_install_map.sh index 44b8068f..85cbb316 100755 --- a/scripts/ubuntu_20.04_install_map.sh +++ b/scripts/ubuntu_20.04_install_map.sh @@ -49,8 +49,9 @@ fi # Use D.C. to initialized DB because it is so small. wget --continue https://download.geofabrik.de/north-america/us/district-of-columbia-latest.osm.pbf \ -O /tmp/district-of-columbia-latest.osm.pbf + # Initialize indexes and global polygons. This may take multiple tries. -set +x +set +e MAX_TRIES=3 COUNT=0 SUCCESS=false @@ -73,6 +74,8 @@ if [[ "${SUCCESS}" == false ]]; then exit 6 fi +set -e + cat >/usr/local/etc/renderd.conf <<'EOF' [renderd] num_threads=4