pull/2047/head
skiffer-git 9 months ago committed by GitHub
parent 42482e7eb4
commit 16799648dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -101,7 +101,7 @@ 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} >>"${LOG_FILE}" 2> >(tee -a "${LOG_FILE}" >&2) ${cmd}
local status=$? local status=$?
if [ $status -eq 0 ]; then if [ $status -eq 0 ]; then

Loading…
Cancel
Save