mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the error
This commit is contained in:
parent
c2c8810331
commit
9318322fa5
@ -51,7 +51,7 @@ function openim::api::start() {
|
||||
printf "| Service Name | Port |\n"
|
||||
printf "+------------------------+--------------+\n"
|
||||
|
||||
readonly OPENIM_API_SERVER_LIBRARIES=("${OPENIM_OUTPUT_HOSTBIN}/${SERVER_NAME}")
|
||||
readonly OPENIM_API_SERVER_LIBRARIES="${OPENIM_OUTPUT_HOSTBIN}/${SERVER_NAME}"
|
||||
openim::util::stop_services_with_name ${OPENIM_API_SERVER_LIBRARIES}
|
||||
|
||||
local length=${#OPENIM_API_SERVICE_LISTARIES[@]}
|
||||
|
||||
@ -680,9 +680,6 @@ openim::util::stop_services_with_name() {
|
||||
timeout=15
|
||||
start_time=$SECONDS
|
||||
|
||||
timeout=15 # 设置超时时间为 15 秒
|
||||
start_time=$SECONDS
|
||||
|
||||
while :; do
|
||||
all_pids_empty=true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user