pr modify and update

This commit is contained in:
Gordon
2022-03-21 14:57:35 +08:00
parent 6c43f75f9f
commit 3dc4290f2a
7 changed files with 3 additions and 31 deletions
+2 -2
View File
@@ -61,6 +61,6 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do
nohup ./${service_filename[$i]} -port $j >>../logs/openIM.log 2>&1 &
sleep 1
pid="netstat -ntlp|grep $j |awk '{printf \$7}'|cut -d/ -f1"
# echo -e "${RED_PREFIX}${service_filename[$i]} Service is started,port number:$j pid:$(eval $pid)$COLOR_SUFFIX"
echo -e "${RED_PREFIX}${service_filename[$i]} Service is started,port number:$j pid:$(eval $pid)$COLOR_SUFFIX"
done
done
done