Browse Source

update start shell

deason 4 năm trước cách đây
mục cha
commit
478989bb8e

+ 2 - 0
examcloud-exchange-starter/shell/start.sh

@@ -6,6 +6,8 @@ PROJECT_JVM_ARGS=`cat start.vmoptions`
 
 
 PROJECT_ARGS=`cat start.args`
 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}'`
 PID_LIST=`ps -ef | grep $PROJECT_JAR | grep java | awk '{print $2}'`
 if [ ! -z "$PID_LIST" ]; then
 if [ ! -z "$PID_LIST" ]; then
     echo "$PROJECT_JAR is already running..."
     echo "$PROJECT_JAR is already running..."