aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbvoudenaarde <oudenaar@gmail.com>2016-11-23 22:18:43 +0100
committerbvoudenaarde <oudenaar@gmail.com>2016-11-23 22:18:43 +0100
commit0a2dfffa373ef8e72aa75cb56f0916bb424c37d6 (patch)
tree844a6644f591ad92358798d8990dd5a8598720f8
parented53b472c0cdea2d6f6ff71040f75c9f0869abfd (diff)
downloadtrackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.gz
trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.bz2
trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.zip
made changes build.sh conform review comments
-rw-r--r--README.md2
-rwxr-xr-xsetup/docker/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b9f4a91bf..376bb296a 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ $ ./setup/docker/build.sh
Running docker container based on this images:
-$ docker run --name traccar -ti -p 8082:8082 -p 5000-5150:5000-5150 tananaev/traccar:<TAG>
+$ docker run --name traccar -p 8082:8082 -p 5000-5150:5000-5150 tananaev/traccar:<TAG>
## Team
diff --git a/setup/docker/build.sh b/setup/docker/build.sh
index 59280aaff..56d6fc518 100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -13,7 +13,7 @@ tmp="./setup/docker/tmp"
mkdir -p ${tmp}
-cat ./setup/traccar.xml | awk '/web.path/ && !modif { printf(" <entry key=\"web.debug\">true</entry>\n"); modif=1 } {print}' > ${tmp}/traccar.xml
+cat ./setup/traccar.xml | awk '/config.default/ && !modif { print;printf(" <entry key=\"web.debug\">true</entry>\n");next; modif=1 } {print}' > ${tmp}/traccar.xml
cp -rf ./setup/default.xml ${tmp}
cp -rf ./schema ${tmp}/schema
cp -rf ./target/tracker-server.jar ${tmp}/traccar-server.jar