Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
hanzhixiao
2023-08-11 14:21:35 +08:00
parent 71393da390
commit 3ef64e9066
9 changed files with 405 additions and 7 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