mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Optimizing scripts
This commit is contained in:
parent
2355f441e6
commit
9436a3bf95
@ -91,7 +91,7 @@ result=$(. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtr
|
|||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
#echo "+++ cat openim log file >>> ${LOG_FILE}"
|
#echo "+++ cat openim log file >>> ${LOG_FILE}"
|
||||||
|
|
||||||
openim::log::error "The service is not running properly, please check the logs\n $result"
|
openim::log::error "The service is not running properly, please check the logs $result"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ done
|
|||||||
result=$(openim::util::check_process_names ${OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER[@]})
|
result=$(openim::util::check_process_names ${OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER[@]})
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
#echo "+++ cat OpenIM log file >>> ${LOG_FILE}"
|
#echo "+++ cat OpenIM log file >>> ${LOG_FILE}"
|
||||||
openim::log::error "The service is not running properly, please check the logs.\n "
|
openim::log::error "The service is not running properly, please check the logs "
|
||||||
echo "$result"
|
echo "$result"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user