diff options
author | 2018-12-12 07:48:42 +0100 | |
---|---|---|
committer | 2018-12-13 07:39:25 +0100 | |
commit | 729d4f1e664faef575d4472bee57c7dab8c3eaba (patch) | |
tree | be7d97d6499da3a9b4eda8eb88231b5f24156dd5 /sources/hv-collector-main/src/main/scripts | |
parent | ccdbec825673153bd57681fa8e1e5a507f4f776b (diff) |
Allow to specify JVM options by means of env-var
Change-Id: I042e022d650a07804096b397c31abc82a9633089
Issue-ID: DCAEGEN2-1025
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'sources/hv-collector-main/src/main/scripts')
-rwxr-xr-x | sources/hv-collector-main/src/main/scripts/entry.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/hv-collector-main/src/main/scripts/entry.sh b/sources/hv-collector-main/src/main/scripts/entry.sh new file mode 100755 index 00000000..2e8cb0c5 --- /dev/null +++ b/sources/hv-collector-main/src/main/scripts/entry.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +java ${JAVA_OPTS:-''} -cp '*:' org.onap.dcae.collectors.veshv.main.MainKt $@ |