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"
|
echo "service on $1 $2 worked normally"
|
||||||
else
|
else
|
||||||
echo "service port:"$2 " is not actived, try to restart it"
|
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;"
|
eval $3 #执行重启服务动作
|
||||||
# systemctl restart shadowsocks-libev-server@libev
|
|
||||||
eval $3
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user