增加openresty

master
pan 4 years ago
parent d18a5202fe
commit 4aab3c79ea
  1. 4
      shell/savePid

@ -8,10 +8,10 @@ while true
pid=`findPortPid $1` pid=`findPortPid $1`
if [ `$pid|wc -l` -eq 0 ] if [ `$pid|wc -l` -eq 0 ]
then then
echo "没有找到端口$1的pid,$second后重试" echo "没有找到端口:$1的pid,$second后重试"
sleep $second sleep $second
else else
echo "端口$1的pid:$pid" echo "端口:$1的pid:$pid"
echo $pid>pid echo $pid>pid
break break
fi fi

Loading…
Cancel
Save