Browse Source

update shell

deason 1 year ago
parent
commit
ca513569b2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      shell/stop.sh

+ 1 - 2
shell/stop.sh

@@ -1,7 +1,6 @@
 #!/bin/bash
 
-PROJECT_JAR=`find . -name "examcloud-app-api*.jar"`
-PROJECT_JAR=${PROJECT_JAR:6}
+PROJECT_JAR="examcloud-app-api"
 
 ps -ef | grep $PROJECT_JAR | grep java | awk '{printf("kill -15 %s\n",$2)}' | sh
 BUILD_ID=DONTKILLME