checkPort update
This commit is contained in:
parent
5d00332616
commit
d4badff4bf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user