diff options
author | su622b <su622b@att.com> | 2020-03-25 15:41:44 -0400 |
---|---|---|
committer | su622b <su622b@att.com> | 2020-03-25 15:41:56 -0400 |
commit | 1b9aba0ddcc14edd08d69e8530d24c173127b441 (patch) | |
tree | 05159fc2483267fffa688cc37417c519a4dd6468 /src/main/resources/docker/startup.sh | |
parent | b2f9fb0fbcb44d83776e53ec74b3e3597fd486d1 (diff) |
update cert1.1.18
Issue-ID: DMAAP-1411
Change-Id: Id5228e5957dd970f38d61d946461308be95ae2fc
Signed-off-by: su622b <su622b@att.com>
Diffstat (limited to 'src/main/resources/docker/startup.sh')
-rw-r--r-- | src/main/resources/docker/startup.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/resources/docker/startup.sh b/src/main/resources/docker/startup.sh index 3898d86..9fb3414 100644 --- a/src/main/resources/docker/startup.sh +++ b/src/main/resources/docker/startup.sh @@ -1,3 +1,4 @@ +#!/bin/bash #******************************************************************************* # ============LICENSE_START======================================================= # org.onap.dmaap @@ -27,5 +28,12 @@ echo "AJSC HOME directory is " $root_directory echo "AJSC Conf Directory is" $config_directory echo "Starting using" $runner_file +if [ -z "${MR_JVM_ARGS}" ]; then -java -jar -XX:MaxPermSize=256m -XX:PermSize=32m -DSOACLOUD_SERVICE_VERSION=0.0.1 -DAJSC_HOME=$root_directory -DAJSC_CONF_HOME=$config_directory -DAJSC_SHARED_CONFIG=$config_directory -DAJSC_HTTPS_PORT=3905 -Dplatform=NON-PROD -DPid=1306 -Dlogback.configurationFile=/appl/dmaapMR1/bundleconfig/etc/logback.xml -Xmx512m -Xms512m $runner_file context=/ port=3904 sslport=3905 +java -jar -Xmx512m -Xms512m -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.rmi.port=5555 -Dcom.sun.management.jmxremote.port=5555 -DSOACLOUD_SERVICE_VERSION=0.0.1 -DAJSC_HOME=$root_directory -DAJSC_CONF_HOME=$config_directory -DAJSC_SHARED_CONFIG=$config_directory -DAJSC_HTTPS_PORT=3905 -Dplatform=NON-PROD -DPid=1306 -Dlogback.configurationFile=/appl/dmaapMR1/bundleconfig/etc/logback.xml -Xmx512m -Xms512m $runner_file context=/ port=3904 sslport=3905 + +else + +java -jar $MR_JVM_ARGS -DSOACLOUD_SERVICE_VERSION=0.0.1 -DAJSC_HOME=$root_directory -DAJSC_CONF_HOME=$config_directory -DAJSC_SHARED_CONFIG=$config_directory -DAJSC_HTTPS_PORT=3905 -Dplatform=NON-PROD -DPid=1306 -Dlogback.configurationFile=/appl/dmaapMR1/bundleconfig/etc/logback.xml -Xmx512m -Xms512m $runner_file context=/ port=3904 sslport=3905 + +fi
\ No newline at end of file |