start.sh 205 B

123456
  1. #!/bin/sh
  2. pid=$(ps -elf | grep jrebel-license-active-server | grep -v grep | awk '{print $4}')
  3. if [ $pid != "" ]; then
  4. kill -9 $pid
  5. fi
  6. nohup ./jrebel-license-active-server --path=/jrebel --port=12345 &