Files
open-im-server/script/start_all.sh
T

23 lines
674 B
Bash
Raw Normal View History

2021-05-26 19:27:41 +08:00
#!/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=(
2021-05-27 12:08:09 +08:00
start_rpc_service.sh
2021-05-26 19:27:41 +08:00
msg_gateway_start.sh
push_start.sh
msg_transfer_start.sh
)
2021-07-15 10:57:47 +08:00
#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
2021-05-26 19:27:41 +08:00
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
./$i
done
2021-08-06 16:20:16 +08:00
#fixme prevents the openIM service exit after execution in the docker container
tail -f /dev/null