mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-04 05:20:35 +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`
|
||||
else
|
||||
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
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue