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