Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

374 B
Raw Blame
#!/bin/sh
set -eu
case "${DATABASE_PASSWORD:-}" in
  ''|*[!0-9a-fA-F]*) echo 'Traccar requires a 64-hex database password' >&2; exit 1;;
esac
[ "${#DATABASE_PASSWORD}" -eq 64 ] || { echo 'Traccar database password must be 64 hexadecimal characters' >&2; exit 1; }
exec /opt/traccar/jre/bin/java -XX:+ExitOnOutOfMemoryError -Xmx1400m -jar tracker-server.jar conf/traccar.xml