fix: fix scripts path module

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-09 11:40:06 +08:00
parent 0414671efd
commit 0a2f20281e
23 changed files with 486 additions and 30 deletions
+3 -3
View File
@@ -36,11 +36,11 @@ ulimit -n 200000
list1=$(cat $config_path | grep openImMessageGatewayPort | awk -F '[:]' '{print $NF}')
list2=$(cat $config_path | grep openImWsPort | awk -F '[:]' '{print $NF}')
list3=$(cat $config_path | grep messageGatewayPrometheusPort | awk -F '[:]' '{print $NF}')
openim::util:list-to-string $list1
openim::util::list-to-string $list1
rpc_ports=($ports_array)
openim::util:list-to-string $list2
openim::util::list-to-string $list2
ws_ports=($ports_array)
openim::util:list-to-string $list3
openim::util::list-to-string $list3
prome_ports=($ports_array)
if [ ${#rpc_ports[@]} -ne ${#ws_ports[@]} ]; then