diff options
author | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2021-04-29 10:44:14 +0200 |
---|---|---|
committer | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2021-04-29 10:53:49 +0200 |
commit | 92976a08e87187317178fa0e37a23f8f4ba0d0bf (patch) | |
tree | f26d7ee150b90bb960bdabdc3c0addba2e282198 | |
parent | 2a0107d7ecce0dcb3b525d40e8bbb276f3b82da0 (diff) |
Fix hv-ves configuration loading from envs
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I53c4cec9803cc2f17a8be92e159b5d64130b83af
Issue-ID: DCAEGEN2-2749
-rwxr-xr-x | sources/hv-collector-main/src/main/docker/entry.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/hv-collector-main/src/main/docker/entry.sh b/sources/hv-collector-main/src/main/docker/entry.sh index 6bac5afe..ede7a240 100755 --- a/sources/hv-collector-main/src/main/docker/entry.sh +++ b/sources/hv-collector-main/src/main/docker/entry.sh @@ -10,8 +10,9 @@ handle_sigterm() { fi exit 143 # 128 + 15 -- SIGTERM } + trap "handle_sigterm" TERM -java ${JAVA_OPTS} -cp '*:' org.onap.dcae.collectors.veshv.main.MainKt "$@" & +java ${JAVA_OPTS} -cp '*:' org.onap.dcae.collectors.veshv.main.MainKt $@ & pid=$! echo "Service started with pid=${pid}" wait ${pid} |