fix: fix scripts and optimize

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-08 22:44:15 +08:00
parent da1316af2a
commit be6f189365
18 changed files with 131 additions and 61 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ cd "$OPENIM_ROOT/scripts/"
list1=$(cat $config_path | grep openImPushPort | awk -F '[:]' '{print $NF}')
list2=$(cat $config_path | grep pushPrometheusPort | awk -F '[:]' '{print $NF}')
list_to_string $list1
openim::util:list-to-string $list1
rpc_ports=($ports_array)
list_to_string $list2
openim::util:list-to-string $list2
prome_ports=($ports_array)
#Check if the service exists