From 2fbf617280cfa437e05b9fcd91727b6ad04599bf Mon Sep 17 00:00:00 2001 From: Gao Hongtao Date: Tue, 6 Mar 2018 12:27:17 +0800 Subject: [PATCH] Update webapp start script (#888) --- apm-dist/bin/webappService.bat | 2 +- apm-dist/bin/webappService.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apm-dist/bin/webappService.bat b/apm-dist/bin/webappService.bat index e8d0c943c5..daefd067da 100644 --- a/apm-dist/bin/webappService.bat +++ b/apm-dist/bin/webappService.bat @@ -14,5 +14,5 @@ if not defined JAVA_HOME ( set _EXECJAVA=java ) -start "%WEBAPP_PROCESS_TITLE%" %_EXECJAVA% -jar %JARPATH%/skywalking-webapp.jar +start "%WEBAPP_PROCESS_TITLE%" %_EXECJAVA% -jar %JARPATH%/skywalking-webapp.jar --server.port=8080 --collector.ribbon.listOfServers=127.0.0.1:10800 endlocal diff --git a/apm-dist/bin/webappService.sh b/apm-dist/bin/webappService.sh index 07b951b83f..9ecb4977d6 100644 --- a/apm-dist/bin/webappService.sh +++ b/apm-dist/bin/webappService.sh @@ -16,6 +16,7 @@ _RUNJAVA=${JAVA_HOME}/bin/java [ -z "$JAVA_HOME" ] && _RUNJAVA=java eval exec "\"$_RUNJAVA\" ${JAVA_OPTS} -jar ${JAR_PATH}/skywalking-webapp.jar \ + --server.port=8080 --collector.ribbon.listOfServers=127.0.0.1:10800 \ 2>${WEBAPP_LOG_DIR}/webapp.log 1> /dev/null &" if [ $? -eq 0 ]; then -- GitLab