mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: update the server name
This commit is contained in:
parent
e5983c0dfc
commit
bbb086f047
@ -62,7 +62,7 @@ function openim::push::start() {
|
|||||||
OPENIM_PUSH_PORTS_ARRAY=$(openim::util::list-to-string ${OPENIM_PUSH_PORT} )
|
OPENIM_PUSH_PORTS_ARRAY=$(openim::util::list-to-string ${OPENIM_PUSH_PORT} )
|
||||||
PUSH_PROM_PORTS_ARRAY=$(openim::util::list-to-string ${PUSH_PROM_PORT} )
|
PUSH_PROM_PORTS_ARRAY=$(openim::util::list-to-string ${PUSH_PROM_PORT} )
|
||||||
|
|
||||||
openim::util::stop_services_with_name ${SERVER_NAME}
|
openim::util::stop_services_with_name ${OPENIM_PUSH_BINARY}
|
||||||
|
|
||||||
openim::log::status "push port list: ${OPENIM_PUSH_PORTS_ARRAY[@]}"
|
openim::log::status "push port list: ${OPENIM_PUSH_PORTS_ARRAY[@]}"
|
||||||
openim::log::status "prometheus port list: ${PUSH_PROM_PORTS_ARRAY[@]}"
|
openim::log::status "prometheus port list: ${PUSH_PROM_PORTS_ARRAY[@]}"
|
||||||
|
|||||||
@ -676,6 +676,8 @@ openim::util::stop_services_with_name() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Print information about services whose processes couldn't be stopped.
|
# Print information about services whose processes couldn't be stopped.
|
||||||
if [[ ${#not_stopped[@]} -ne 0 ]]; then
|
if [[ ${#not_stopped[@]} -ne 0 ]]; then
|
||||||
openim::log::info "Services that couldn't be stopped:"
|
openim::log::info "Services that couldn't be stopped:"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user