Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
hanzhixiao
2023-08-10 10:50:05 +08:00
parent d37796a58f
commit cab30e7311
8 changed files with 356 additions and 5 deletions
+9
View File
@@ -30,6 +30,15 @@ need_to_start_server_shell=(
${SCRIPTS_ROOT}/start_cron.sh
)
component_check=start_component_check.sh
chmod +x $SCRIPTS_ROOT/$component_check
$SCRIPTS_ROOT/$component_check
if [ $? -ne 0 ]; then
# Print error message and exit
echo "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
exit -1
fi
#fixme The 10 second delay to start the project is for the docker-compose one-click to start openIM when the infrastructure dependencies are not started
sleep 10