|
|
|
@ -83,9 +83,10 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
|
|
|
|
|
for j in ${service_ports}; do
|
|
|
|
|
#Start the service in the background
|
|
|
|
|
# ./${service_filename[$i]} -port $j &
|
|
|
|
|
cmd="./${service_filename[$i]} -port $j"
|
|
|
|
|
|
|
|
|
|
cmd="./${service_filename[$i]} -port $j -prometheus_port ${prome_ports[$i]}"
|
|
|
|
|
if [ $i -eq 0 -o $i -eq 1 ]; then
|
|
|
|
|
cmd="./${service_filename[$i]} -port $j -prometheus_port ${prome_ports[$i]}"
|
|
|
|
|
cmd="./${service_filename[$i]} -port $j"
|
|
|
|
|
fi
|
|
|
|
|
echo $cmd
|
|
|
|
|
nohup $cmd >>../logs/openIM.log 2>&1 &
|
|
|
|
|