deason 4 жил өмнө
parent
commit
a9d81113a5
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      shell/start.sh

+ 2 - 0
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..."