6 if [ ${pid} -ge 0 ]; then
7 echo "Caught SIGTERM signal. Redirecting to process with pid=${pid}"
11 exit 143 # 128 + 15 -- SIGTERM
14 trap "handle_sigterm" TERM
15 java ${JAVA_OPTS} -cp '*:' org.onap.dcae.collectors.veshv.main.MainKt $@ &
17 echo "Service started with pid=${pid}"