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 be6f189365
commit 18728fc993
23 changed files with 486 additions and 30 deletions
+2 -2
View File
@@ -90,11 +90,11 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
cd $BIN_DIR
# Get the rpc port in the configuration file
portList=$(cat $config_path | grep ${service_port_name[$i]} | awk -F '[:]' '{print $NF}')
openim::util:list-to-string ${portList}
openim::util::list-to-string ${portList}
service_ports=($ports_array)
portList2=$(cat $config_path | grep ${service_prometheus_port_name[$i]} | awk -F '[:]' '{print $NF}')
openim::util:list-to-string $portList2
openim::util::list-to-string $portList2
prome_ports=($ports_array)
#Start related rpc services based on the number of ports
for ((j = 0; j < ${#service_ports[*]}; j++)); do