运行脚本

master
pan 4 years ago
parent 796377c9fd
commit f000fcc46d
  1. 8
      run.sh

@ -6,13 +6,13 @@ function run(){
while true
do
pid=`findPortPid $webPort`
if [ pid -eq '' ]
if [ $pid ]
then
echo pid not found!!!
sleep 1s
else
echo "pid is $pid"
break
else
echo pid not found!!!
sleep 1s
done
touch $pid.log && chmod +x $pid.log

Loading…
Cancel
Save