Ver Fonte

update shell

deason há 1 ano atrás
pai
commit
0e56faa56c
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      examcloud-core-print-starter/shell/stop.sh

+ 1 - 2
examcloud-core-print-starter/shell/stop.sh

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