mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
batch build
This commit is contained in:
parent
cbf53e12cd
commit
fe5b457f29
@ -21,12 +21,14 @@ echo "==========================================================">>../logs/openI
|
|||||||
echo "==========================================================">>../logs/openIM.log 2>&1 &
|
echo "==========================================================">>../logs/openIM.log 2>&1 &
|
||||||
|
|
||||||
build_pid_array=()
|
build_pid_array=()
|
||||||
|
idx=0
|
||||||
for i in ${need_to_start_server_shell[*]}; do
|
for i in ${need_to_start_server_shell[*]}; do
|
||||||
chmod +x $i
|
chmod +x $i
|
||||||
./$i &
|
./$i &
|
||||||
build_pid=$!
|
build_pid=$!
|
||||||
build_pid_array[i]=$build_pid
|
echo "build_pid " $build_pid
|
||||||
|
build_pid_array[idx]=$build_pid
|
||||||
|
let idx=idx+1
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "wait all start finish....."
|
echo "wait all start finish....."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user