fix: rename open_im to openim

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-07-05 15:26:07 +08:00
parent 98fe83b62d
commit fe16385c9b
36 changed files with 95 additions and 117 deletions
+1 -2
View File
@@ -29,7 +29,7 @@ for i in ${service_port_name[*]}; do
list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}')
list_to_string $list
for j in ${ports_array}; do
port=$(ss -tunlp| grep open_im | awk '{print $5}' | grep -w ${j} | awk -F '[:]' '{print $NF}')
port=$(ss -tunlp| grep openim | awk '{print $5}' | grep -w ${j} | awk -F '[:]' '{print $NF}')
if [[ ${port} -ne ${j} ]]; then
echo -e ${YELLOW_PREFIX}${i}${COLOR_SUFFIX}${RED_PREFIX}" service does not start normally,not initiated port is "${COLOR_SUFFIX}${YELLOW_PREFIX}${j}${COLOR_SUFFIX}
echo -e ${RED_PREFIX}"please check ../logs/openIM.log "${COLOR_SUFFIX}
@@ -39,4 +39,3 @@ for i in ${service_port_name[*]}; do
fi
done
done
+5 -5
View File
@@ -1,7 +1,7 @@
#Don't put the space between "="
demo_server_name="open_im_chat_api"
demo_server_name="openim_chat_api"
demo_server_binary_root="../bin/"
@@ -21,9 +21,9 @@ service_source_root=(
#service filename
service_names=(
#api service filename
open_im_chat_api
open_im_admin_api
openim_chat_api
openim_admin_api
#rpc service filename
open_im_admin
open_im_chat
openim_admin
openim_chat
)