From b9e49e37ea44e79279f22964b39b4ae32c851bc6 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Tue, 23 Nov 2021 15:30:28 +0800 Subject: [PATCH] sleep 15 --- script/docker_start_all.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/docker_start_all.sh b/script/docker_start_all.sh index 839a46688..250f1e46b 100644 --- a/script/docker_start_all.sh +++ b/script/docker_start_all.sh @@ -12,13 +12,15 @@ need_to_start_server_shell=( timer_start.sh ) -#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 + for i in ${need_to_start_server_shell[*]}; do chmod +x $i ./$i done +#fixme The 15 second delay to start the project is for the docker-compose one-click to start openIM when the infrastructure dependencies are not started +sleep 15 + #fixme prevents the openIM service exit after execution in the docker container tail -f /dev/null