summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src/main/assembly/bin
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-07-23 16:47:42 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-07-23 16:47:42 +0800
commit7c10ad301cd3fea79af61f1d092b2a3103f7ec11 (patch)
treeabacc5fe0f43906b42b7c061eb4c2dc919d5566b /rulemgt-standalone/src/main/assembly/bin
parenta966da9a6108017711152fc69725397c8779fd08 (diff)
Added nginx
Change-Id: Iffc0e337cbf59f9cae514d85eb3e1c83d0f664f9 Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/bin')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh
index 8d52c04..c8bae4c 100644
--- a/rulemgt-standalone/src/main/assembly/bin/run.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/run.sh
@@ -80,4 +80,7 @@ sed -i "s|keyStorePassword:.*|keyStorePassword: $KEY_PASSWORD|" "$main_path/conf
./bin/initDB.sh $JDBC_USERNAME $JDBC_PASSWORD $DB_NAME $DB_PORT "${URL_JDBC%:*}"
+#Start nginx
+nginx -c /usr/local/nginx/conf/holmes.nginx.conf
+
"$JAVA" $JAVA_OPTS -classpath "$class_path" org.onap.holmes.rulemgt.RuleActiveApp server "$main_path/conf/rulemgt.yml"