diff --git a/checkPort.sh b/checkPort.sh index 71f234e..8c1cd3c 100755 --- a/checkPort.sh +++ b/checkPort.sh @@ -33,9 +33,7 @@ if [ "$res" -eq 1 ]; then echo "service on $1 $2 worked normally" else echo "service port:"$2 " is not actived, try to restart it" - #mysql -uroot -pAbcd@1234 -h0.0.0.0 -e "SET GLOBAL lower_case_table_names = 1;" - # systemctl restart shadowsocks-libev-server@libev - eval $3 + eval $3 #执行重启服务动作 fi exit