fix: Use exec for better PID 1 handling (#2156)
Also pass the arguments along to the java execution Previously the arguments were silently dropped Signed-off-by: jakub-bochenski <kuba.bochenski@gmail.com> Signed-off-by: jakub <j.bochenski@zoovu.com>
This commit is contained in:
@@ -15,4 +15,9 @@ if [[ "${MESSAGING_TYPE}" != "" ]]; then
|
||||
fi
|
||||
|
||||
echo "Please wait for the dependencies to be downloaded..."
|
||||
java -Djava.security.egd=file:/dev/./urandom -jar /home/scc/stub-runner-boot.jar ${ADDITIONAL_OPTS}
|
||||
exec \
|
||||
java \
|
||||
-Djava.security.egd=file:/dev/./urandom \
|
||||
-jar /home/scc/stub-runner-boot.jar \
|
||||
${ADDITIONAL_OPTS} \
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user