|
|
@ -84,7 +84,7 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
|
|
|
|
for j in ${service_ports}; do
|
|
|
|
for j in ${service_ports}; do
|
|
|
|
#Start the service in the background
|
|
|
|
#Start the service in the background
|
|
|
|
# ./${service_filename[$i]} -port $j &
|
|
|
|
# ./${service_filename[$i]} -port $j &
|
|
|
|
echo $i
|
|
|
|
echo $i ${prome_ports}
|
|
|
|
cmd="./${service_filename[$i]} -port $j -prometheus_port ${prome_ports[$i]}"
|
|
|
|
cmd="./${service_filename[$i]} -port $j -prometheus_port ${prome_ports[$i]}"
|
|
|
|
if [ $i -eq 0 -o $i -eq 1 ]; then
|
|
|
|
if [ $i -eq 0 -o $i -eq 1 ]; then
|
|
|
|
cmd="./${service_filename[$i]} -port $j"
|
|
|
|
cmd="./${service_filename[$i]} -port $j"
|
|
|
|