mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Handle the return value of pre-start
This commit is contained in:
parent
93f4ea022b
commit
4f820df00d
@ -101,7 +101,6 @@ function openim::tools::start_service() {
|
|||||||
cmd="${cmd} --prometheus_port ${prometheus_port}"
|
cmd="${cmd} --prometheus_port ${prometheus_port}"
|
||||||
fi
|
fi
|
||||||
openim::log::status "Starting binary ${binary_name}..."
|
openim::log::status "Starting binary ${binary_name}..."
|
||||||
${cmd} | tee -a "${LOG_FILE}"
|
|
||||||
${cmd} >> "${LOG_FILE}" 2>&1
|
${cmd} >> "${LOG_FILE}" 2>&1
|
||||||
local status=$?
|
local status=$?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user