We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50cd494 commit 944bdc0Copy full SHA for 944bdc0
modules/s2i/bash/artifacts/usr/local/s2i/run
@@ -13,10 +13,5 @@ s2i_core_env_init
13
14
export JAVA_OPTS
15
16
-if [ -f "${S2I_TARGET_DEPLOYMENTS_DIR}/bin/run.sh" ]; then
17
- echo "Starting the application using the bundled ${S2I_TARGET_DEPLOYMENTS_DIR}/bin/run.sh ..."
18
- exec ${DEPLOYMENTS_DIR}/bin/run.sh $args ${JAVA_ARGS}
19
-else
20
- echo "Starting the Java application using ${JBOSS_CONTAINER_JAVA_RUN_MODULE}/run-java.sh $args..."
21
- exec "${JBOSS_CONTAINER_JAVA_RUN_MODULE}/run-java.sh" $args ${JAVA_ARGS}
22
-fi
+echo "Starting the Java application using ${JBOSS_CONTAINER_JAVA_RUN_MODULE}/run-java.sh $args ${JAVA_ARGS}…"
+exec "${JBOSS_CONTAINER_JAVA_RUN_MODULE}/run-java.sh" $args ${JAVA_ARGS}
0 commit comments