Browse Source

update start.sh stop.sh

deason 2 months ago
parent
commit
89515744fb

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

@@ -1,7 +1,6 @@
 #!/bin/bash
 
-PROJECT_JAR=`find . -name "examcloud-core-basic-starter*.jar"`
-PROJECT_JAR=${PROJECT_JAR:6}
+PROJECT_JAR="examcloud-core-basic-starter.jar"
 
 PROJECT_ARGS=`cat start.args`
 PROJECT_ARGS=$PROJECT_ARGS" --sys.config.center.secretKey="$1

+ 1 - 1
examcloud-core-basic-starter/shell/stop.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-PROJECT_JAR="examcloud-core-basic-starter"
+PROJECT_JAR="examcloud-core-basic-starter.jar"
 
 ps -ef | grep $PROJECT_JAR | grep java | awk '{printf("kill -15 %s\n",$2)}' | sh
 BUILD_ID=DONTKILLME