Skip to content

Commit

Permalink
Update install_zh.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FxPool authored Mar 10, 2023
1 parent 2893477 commit 2104ecc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install_zh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ setDownloadUrl=$1
setAppName=$2

# 配置变量
shell_version='2.4.0'
shell_version='2.4.1'
installfolder=/root/$setAppName/running
sofname='running'
sofnamekeep='sslmix'
AppFileName=$setAppName
AppName=$setAppName.tar.gz

Expand All @@ -36,6 +37,12 @@ killProcess() {
echo "Kill the $1 process [ $i ]"
kill -9 $i
done

PROCESS=$(ps -A | grep $sofnamekeep|grep -v grep | grep -v PPID | awk '{ print $1}')
for i in $PROCESS; do
echo "Kill the $1 process [ $i ]"
kill -9 $i
done
}
# 检查程序
checkProcess() {
Expand Down

0 comments on commit 2104ecc

Please sign in to comment.