Initial commit

This commit is contained in:
Johannes Zellner
2019-07-05 14:45:41 +02:00
commit 1e33322bfc
7 changed files with 93 additions and 0 deletions

13
start.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -eu -o pipefail
echo "=> Ensure traccar.xml config"
if [[ ! -f /app/data/traccar.xml ]]; then
cp /app/pkg/traccar.xml.template /app/data/traccar.xml
fi
cd /app/code
echo "=> Start traccar-server"
./jre/bin/java -jar tracker-server.jar ./conf/traccar.xml