WANG 6 年 前
コミット
4457c108e4

+ 11 - 2
examcloud-core-basic-starter/shell/start.sh

@@ -14,8 +14,15 @@ if [ ! -z "$PID_LIST" ]; then
     exit -1
 fi
 
-APP_ARGS=$APP_ARGS" --startup.securityCode="$$
- 
+if [ "$1" ];then
+    echo "startupCode:"$1;
+else
+    echo "[ERROR] : no arguments"
+    exit -1
+fi
+
+APP_ARGS=$APP_ARGS" --examcloud.startup.startupCode="$1
+
 echo "java options:"
 echo "$JAVA_OPTS"
 echo "args:"
@@ -27,3 +34,5 @@ echo "starting......"
 
 exit 0
 
+
+

+ 1 - 1
examcloud-core-basic-starter/shell/version

@@ -1 +1 @@
-master
+2019