From 812fa38a874021db5a2f79efe1c7d75de5f6997c Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 22 Feb 2024 18:48:17 +0800 Subject: [PATCH] log --- scripts/install/openim-push.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/openim-push.sh b/scripts/install/openim-push.sh index af466cc01..48a298aac 100755 --- a/scripts/install/openim-push.sh +++ b/scripts/install/openim-push.sh @@ -62,9 +62,9 @@ function openim::push::start() { OPENIM_PUSH_PORTS_ARRAY=$(openim::util::list-to-string ${OPENIM_PUSH_PORT} ) PUSH_PROM_PORTS_ARRAY=$(openim::util::list-to-string ${PUSH_PROM_PORT} ) - result=$(openim::util::stop_services_with_name ${SERVER_NAME}) + result=$(openim::util::stop_services_with_name ${OPENIM_PUSH_BINARY}) if [[ $? -ne 0 ]]; then - openim::log::error "stop ${SERVER_NAME} failed \n " "${result}" + openim::log::error "stop ${OPENIM_PUSH_BINARY} failed \n " "${result}" return 1 fi