This commit is contained in:
wangchuxiao
2023-03-14 11:47:40 +08:00
parent eeffefc9fc
commit 351b59020d
7 changed files with 8 additions and 1 deletions
+1
View File
@@ -79,6 +79,7 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
cmd="./${service_filename[$i]} --port ${service_ports[$j]}"
fi
echo $cmd
echo "=====================start ${service_filename[$i]}======================">>../logs/openIM.log 2>&1 &
nohup $cmd >>../logs/openIM.log 2>&1 &
sleep 1
pid="netstat -ntlp|grep $j |awk '{printf \$7}'|cut -d/ -f1"