This is an automated email from the ASF dual-hosted git repository. zhangliang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-lite.git
The following commit(s) were added to refs/heads/master by this push: new fcec3901 add [exec] in concole start.sh(#503) (#894) fcec3901 is described below commit fcec3901517421a949ffe48bdd2783c15a139836 Author: jiang2015 <273529...@qq.com> AuthorDate: Thu Jul 2 15:30:47 2020 +0800 add [exec] in concole start.sh(#503) (#894) * console start.sh add exec (#503) --- elastic-job-lite-console/src/main/resources/bin/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elastic-job-lite-console/src/main/resources/bin/start.sh b/elastic-job-lite-console/src/main/resources/bin/start.sh index d36f879..22006cf 100644 --- a/elastic-job-lite-console/src/main/resources/bin/start.sh +++ b/elastic-job-lite-console/src/main/resources/bin/start.sh @@ -13,7 +13,7 @@ fi port="8899" if [ $# -eq 2 ]; then - while getopts p: arg + while getopts p: arg do case "$arg" in p) port="$OPTARG";; [?]) show_usage;; @@ -31,4 +31,4 @@ DEPLOY_DIR=`pwd` CLASS_PATH=.:${DEPLOY_DIR}/conf:${DEPLOY_DIR}/lib/*:${DEPLOY_DIR}/ext-lib/* CONSOLE_MAIN=org.apache.shardingsphere.elasticjob.lite.console.ConsoleBootstrap -java -classpath ${CLASS_PATH}:. ${CONSOLE_MAIN} ${port} +exec java -classpath ${CLASS_PATH}:. ${CONSOLE_MAIN} ${port}