You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/script/docker_start_all.sh

29 lines
741 B

#!/usr/bin/env bash
#fixme This script is the total startup script
#fixme The full name of the shell script that needs to be started is placed in the need_to_start_server_shell array
#fixme Put the shell script name here
need_to_start_server_shell=(
start_rpc_service.sh
msg_gateway_start.sh
push_start.sh
msg_transfer_start.sh
sdk_svr_start.sh
3 years ago
timer_start.sh
demo_svr_start.sh
)
3 years ago
#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
3 years ago
3 years ago
sleep 10
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
./$i
done
3 years ago
sleep 15
#fixme prevents the openIM service exit after execution in the docker container
tail -f /dev/null