mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
change the way we look for the unicorn port
This commit is contained in:
parent
9c300f033c
commit
cd1b3fd753
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ ynh_app_setting_set $app use_web_account $use_web_account
|
|||
|
||||
# Find free ports
|
||||
port=$(ynh_find_port 8080)
|
||||
portUnicorn=$(ynh_find_port 9080)
|
||||
portUnicorn=$(ynh_find_port $(($port + 1)))
|
||||
|
||||
yunohost firewall allow --no-upnp TCP $port 2>&1
|
||||
yunohost firewall allow --no-upnp TCP $portUnicorn 2>&1
|
||||
|
|
Loading…
Reference in a new issue