|
|
|
@ -69,7 +69,7 @@ fi
|
|
|
|
|
|
|
|
|
|
"${OPENIM_ROOT}"/scripts/init-config.sh --skip
|
|
|
|
|
|
|
|
|
|
echo "You need to start the following scripts in order: ${OPENIM_SERVER_SCRIPTARIES[@]}"
|
|
|
|
|
openim::log::print_blue "Execute the following script in sequence: ${OPENIM_SERVER_SCRIPTARIES[@]}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO Prelaunch tools, simple for now, can abstract functions later
|
|
|
|
@ -81,7 +81,7 @@ ${TOOLS_START_SCRIPTS_PATH} openim::tools::pre-start
|
|
|
|
|
|
|
|
|
|
result=$("${OPENIM_ROOT}"/scripts/stop-all.sh)
|
|
|
|
|
if [[ $? -ne 0 ]]; then
|
|
|
|
|
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
|
|
|
|
openim::log::error "View the error logs from this startup. ${LOG_FILE} \n"
|
|
|
|
|
openim::log::error "Some programs have not exited; the start process is aborted .\n $result"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|