feat: deploy file

This commit is contained in:
archer
2023-05-05 15:00:52 +08:00
parent a34a2b622c
commit d1ee3913eb
8 changed files with 52 additions and 1 deletions

10
deploy/clash/stop.sh Normal file
View File

@@ -0,0 +1,10 @@
export ALL_PROXY=''
export http_proxy=''
export https_proxy=''
export HTTP_PROXY=''
export HTTPS_PROXY=''
OLD_PROCESS=$(pgrep clash)
if [ ! -z "$OLD_PROCESS" ]; then
echo "Killing old process: $OLD_PROCESS"
kill $OLD_PROCESS
fi