Start.sh 280 B

123456789101112
  1. #!/bin/bash
  2. if [$1 = ""]
  3. then
  4. echo "please input config file! for example:"
  5. echo "bash Start.sh Config/StartConfig/192.168.12.188.txt"
  6. exit 9
  7. fi
  8. cd Bin
  9. ps -ef | grep App.exe | awk '{print $2}' | xargs kill -9
  10. dotnet App.dll --appId=1 --appType=Manager --config=../$1