mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
prome
This commit is contained in:
parent
f5f6e9a882
commit
a4fc493ea5
@ -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 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user