浏览代码

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..."