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