#!/bin/sh
# Openshift BPMS Smart Router launch script

if [ "${SCRIPT_DEBUG}" = "true" ] ; then
    set -x
    echo "Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed"
fi

CONFIGURE_SCRIPTS=(
  /opt/${JBOSS_PRODUCT}/launch/bpmsuite-smartrouter.sh
)

source /opt/${JBOSS_PRODUCT}/launch/configure.sh

echo "Running $JBOSS_PRODUCT image, version $PRODUCT_VERSION"

if [ -n "$CLI_GRACEFUL_SHUTDOWN" ] ; then
  trap "" TERM
  echo "Using CLI Graceful Shutdown instead of TERM signal"
fi

exec  ${JAVA_HOME}/bin/java ${JBOSS_BPMSUITE_ARGS} -jar /opt/${JBOSS_PRODUCT}/${KIE_ROUTER_DISTRIBUTION_JAR}

#!/bin/sh
# Openshift BPMS Smart Router launch script

if [ "${SCRIPT_DEBUG}" = "true" ] ; then
    set -x
    echo "Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed"
fi

CONFIGURE_SCRIPTS=(
  /opt/${JBOSS_PRODUCT}/launch/bpmsuite-smartrouter.sh
)

source /opt/${JBOSS_PRODUCT}/launch/configure.sh

echo "Running $JBOSS_IMAGE_NAME image, version $PRODUCT_VERSION"

if [ -n "$CLI_GRACEFUL_SHUTDOWN" ] ; then
  trap "" TERM
  echo "Using CLI Graceful Shutdown instead of TERM signal"
fi

exec  ${JAVA_HOME}/bin/java ${JBOSS_BPMSUITE_ARGS} -jar /opt/${JBOSS_PRODUCT}/${KIE_ROUTER_DISTRIBUTION_JAR}

Update the value for the Running image to the same used in other images
Update the value for the Running image to the same used in other images

Signed-off-by: Filippe Spolti <72fcefe5982c0f78e9fb30e833dad5513e52d148@redhat.com>
