stop-clash.sh 155 B

1234567
  1. #!/bin/bash
  2. # save this file to ${HOME}/.config/clash/stop-clash.sh
  3. # read pid file
  4. PID=`cat /etc/clash/clash.pid`
  5. kill -9 ${PID}
  6. rm /etc/clash/clash.pid