stop.sh 128 B

12345678
  1. #!/bin/bash
  2. PID=$(ps -ef | grep hzb-base-api.jar | grep -v grep | awk '{ print $2 }')
  3. if [ ! -z "$PID" ]
  4. then
  5. kill $PID
  6. fi