From a8341ec86d6ce570e4a4a20b8393e68918752e9c Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Wed, 1 Dec 2021 12:31:51 +0800 Subject: [PATCH] demo merge into project --- script/demo_svr_start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/demo_svr_start.sh b/script/demo_svr_start.sh index 57046b950..7b019fd50 100644 --- a/script/demo_svr_start.sh +++ b/script/demo_svr_start.sh @@ -23,8 +23,8 @@ fi sleep 1 cd ${demo_server_source_root} -for ((i = 0; i < ${#rpc_ports[@]}; i++)); do - nohup ./${demo_server_name} -port ${rpc_ports[$i]} >>../logs/openIM.log 2>&1 & +for ((i = 0; i < ${#api_ports[@]}; i++)); do + nohup ./${demo_server_name} -port ${api_ports[$i]} >>../logs/openIM.log 2>&1 & done sleep 3