Kaynağa Gözat

update shell

deason 1 yıl önce
ebeveyn
işleme
a3bd0e1790
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      examcloud-core-basic-starter/shell/stop.sh

+ 1 - 2
examcloud-core-basic-starter/shell/stop.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"
 
 ps -ef | grep $PROJECT_JAR | grep java | awk '{printf("kill -15 %s\n",$2)}' | sh
 BUILD_ID=DONTKILLME