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
cc3a686147
commit
86e239796b
@ -22,7 +22,8 @@ start_binaries() {
|
|||||||
# 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"
|
||||||
"$bin_full_path" -i "$i" -c "$conf_dir"
|
nohup "$bin_full_path" -i "$i" -c "$conf_dir" > "${conf_dir}/nohup_${binary}_${i}.log" 2>&1 &
|
||||||
|
done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user