Explorar o código

update start shell

deason %!s(int64=4) %!d(string=hai) anos
pai
achega
23cd6545a6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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=`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..."