From 318eb2f47d3d96d01a4da71c8a1319a5a6a21147 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Sun, 24 Apr 2022 17:54:02 +0800 Subject: [PATCH] shell update --- config/config.yaml | 4 ++-- script/check_all.sh | 4 ++-- script/msg_gateway_start.sh | 2 +- script/start_rpc_service.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index 445357150..aab4e1737 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -113,8 +113,8 @@ credential: #腾讯cos,发送图片、视频、文件时需要,请自行申 rpcport: #rpc服务端口 默认即可 openImUserPort: [ 10100 ] openImFriendPort: [ 10200 ] - openImOfflineMessagePort: [ 10300 ] - openImOnlineRelayPort: [ 10400 ] + openImMessagePort: [ 10300 ] + openImMessageGatewayPort: [ 10400 ] openImGroupPort: [ 10500 ] openImAuthPort: [ 10600 ] openImPushPort: [ 10700 ] diff --git a/script/check_all.sh b/script/check_all.sh index 0e828fd54..2ecd800b0 100644 --- a/script/check_all.sh +++ b/script/check_all.sh @@ -8,8 +8,8 @@ service_port_name=( openImApiPort openImUserPort openImFriendPort - openImOfflineMessagePort - openImOnlineRelayPort + openImMessagePort + openImMessageGatewayPort openImGroupPort openImAuthPort openImPushPort diff --git a/script/msg_gateway_start.sh b/script/msg_gateway_start.sh index 7c107f16a..d61edf692 100644 --- a/script/msg_gateway_start.sh +++ b/script/msg_gateway_start.sh @@ -5,7 +5,7 @@ source ./path_info.cfg source ./function.sh ulimit -n 200000 -list1=$(cat $config_path | grep openImOnlineRelayPort | awk -F '[:]' '{print $NF}') +list1=$(cat $config_path | grep openImMessageGatewayPort | awk -F '[:]' '{print $NF}') list2=$(cat $config_path | grep openImWsPort | awk -F '[:]' '{print $NF}') list_to_string $list1 rpc_ports=($ports_array) diff --git a/script/start_rpc_service.sh b/script/start_rpc_service.sh index 2e249bbc1..6e60bcdcd 100644 --- a/script/start_rpc_service.sh +++ b/script/start_rpc_service.sh @@ -36,7 +36,7 @@ service_port_name=( openImAdminCmsPort openImMessageCmsPort openImStatisticsPort - openImOfflineMessagePort + openImMessagePort openImOfficePort openImOrganizationPort openImConversationPort