mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
Update auto_addport.sh
This commit is contained in:
parent
f8fa8322c3
commit
9083317b04
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ do
|
||||||
app_port=`expr $app_port + 1`
|
app_port=`expr $app_port + 1`
|
||||||
else
|
else
|
||||||
echo $app_port >> /tmp/port.txt
|
echo $app_port >> /tmp/port.txt
|
||||||
sed -i "s/APP_HTTP_PORT=*/APP_HTTP_PORT=$app_port/g" /data/apps/$1/.env
|
sed -i "s/APP_HTTP_PORT=.*/APP_HTTP_PORT=$app_port/g" /data/apps/$1/.env
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue