소스 검색

update start shell

deason 4 년 전
부모
커밋
451b108619
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      examcloud-core-print-starter/shell/start.sh

+ 2 - 0
examcloud-core-print-starter/shell/start.sh

@@ -6,6 +6,8 @@ PROJECT_JVM_ARGS=`cat start.vmoptions`
 
 PROJECT_ARGS=`cat start.args`
 
+PROJECT_ARGS=$PROJECT_ARGS" --sys.config.center.secretKey="$1
+
 PID_LIST=`ps -ef | grep $PROJECT_JAR | grep java | awk '{print $2}'`
 if [ ! -z "$PID_LIST" ]; then
     echo "$PROJECT_JAR is already running..."