增加openresty

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

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

Loading…
Cancel
Save