From 4a16c1a4102e3abe1dd3db978e3087923e4e8a2c Mon Sep 17 00:00:00 2001 From: Emillio Mariscal Date: Thu, 22 Feb 2024 10:27:53 -0300 Subject: [PATCH] Default port changed to 5432, sudo for copy file --- utils/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/bootstrap.sh b/utils/bootstrap.sh index 45874f6c..9427b95a 100644 --- a/utils/bootstrap.sh +++ b/utils/bootstrap.sh @@ -43,7 +43,7 @@ done REGION=${region} COUNTRY=${country} HOST=${host:-localhost} -PORT=${port:-5439} +PORT=${port:-5432} DB=${database:-underpass} if [ -n "${user}" ] @@ -112,7 +112,7 @@ then then docker cp $COUNTRY.geojson underpass:/etc/underpass/priority.geojson else - cp $COUNTRY.geojson /etc/underpass/priority.geojson + sudo cp $COUNTRY.geojson /etc/underpass/priority.geojson fi echo "Bootstrapping database ..." if "$use_docker";