mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 21:02:11 +08:00
Script Refactoring
This commit is contained in:
parent
7738277b75
commit
cc3a686147
@ -18,8 +18,7 @@ start_binaries() {
|
|||||||
# Iterate over binaries defined in binary_path.sh
|
# Iterate over binaries defined in binary_path.sh
|
||||||
for binary in "${!binaries[@]}"; do
|
for binary in "${!binaries[@]}"; do
|
||||||
local count=${binaries[$binary]}
|
local count=${binaries[$binary]}
|
||||||
local bin_full_path=$(get_bin_full_path "$project_dir" "$binary")
|
local bin_full_path=$(get_bin_full_path "$binary")
|
||||||
echo "$project_dir" "$binary" 444444444444444444
|
|
||||||
# Loop to start binary the specified number of times
|
# Loop to start binary the specified number of times
|
||||||
for ((i=0; i<count; i++)); do
|
for ((i=0; i<count; i++)); do
|
||||||
echo "Starting $binary instance $i: $bin_full_path -i $i -c $OPENIM_OUTPUT_CONFIG"
|
echo "Starting $binary instance $i: $bin_full_path -i $i -c $OPENIM_OUTPUT_CONFIG"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user