#!/usr/bin/env bash

set -o errexit
set -o nounset

if [[ "${WAIT_FOR_DEPS:=false}" = "true" ]]; then
  /app/wait-for-dependencies.sh
fi

java -XshowSettings:vm -XX:+PrintGCDetails -XX:+PrintGCDateStamps -jar /app/akvo-lumen.jar

#!/usr/bin/env bash

set -o errexit
set -o nounset

if [[ "${WAIT_FOR_DEPS:=false}" = "true" ]]; then
  /app/wait-for-dependencies.sh
fi

java -Xlog:gc=info -jar /app/akvo-lumen.jar

Upgrade args to java 11 compatible
Upgrade args to java 11 compatible
