diff options
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index 59869ee..48795d1 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -41,6 +41,10 @@ sed -i "s|url:.*|url: jdbc:postgresql://$URL_JDBC/holmes|" "$main_path/conf/engi export SERVICE_IP=`hostname -i` echo SERVICE_IP=${SERVICE_IP} +if [ ${TESTING} == 1 ] + export HOSTNAME=${SERVICE_IP}:9102 +fi + #ActiveMQ IP Configurations sed -i "s|brokerIp:.*|brokerIp: $SERVICE_IP|" "$main_path/conf/engine-d.yml" |