diff options
author | bvoudenaarde <oudenaar@gmail.com> | 2016-11-23 22:18:43 +0100 |
---|---|---|
committer | bvoudenaarde <oudenaar@gmail.com> | 2016-11-23 22:18:43 +0100 |
commit | 0a2dfffa373ef8e72aa75cb56f0916bb424c37d6 (patch) | |
tree | 844a6644f591ad92358798d8990dd5a8598720f8 | |
parent | ed53b472c0cdea2d6f6ff71040f75c9f0869abfd (diff) | |
download | trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.gz trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.bz2 trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.zip |
made changes build.sh conform review comments
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | setup/docker/build.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |