1
0
Fork 0
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:
Bourre Pierre 2019-01-22 15:47:54 +01:00
parent 9c300f033c
commit cd1b3fd753

View file

@ -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