Shell script initial commit

This commit is contained in:
away
2021-05-26 19:27:41 +08:00
parent e654e765f6
commit 7f70cf6c31
4 changed files with 113 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/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=(
auto_start_service.sh
msg_gateway_start.sh
push_start.sh
msg_transfer_start.sh
)
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
./$i
done
while [ true ]; do
sleep 60
done