diff options
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 3 |
1 files changed, 3 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 7a2a120..9948a04 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -36,5 +36,8 @@ sed -i "s|url:.*|url: jdbc:mysql://$URL_JDBC/holmes|" "$main_path/conf/engine-d. #ActiveMQ IP Configurtion #sed -i "s|brokerIp:.*|brokerIp: $BROKER_IP|" "$main_path/conf/engine-d.yml" +export SERVICE_IP=`hostname -i` +echo SERVICE_IP=${SERVICE_IP} + "$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.engine.EngineDActiveApp server "$main_path/conf/engine-d.yml" |