mirror of
https://github.com/YunoHost-Apps/ergo_ynh.git
synced 2024-09-03 18:26:31 +02:00
hint for port
This commit is contained in:
parent
924aa1c88a
commit
e8fe1c1e89
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ ynh_app_setting_set --app=$app --key=language --value=$language
|
|||
ynh_script_progression --message="Finding an available port..." --time --weight=1
|
||||
|
||||
# Find an available port
|
||||
port=$(ynh_find_port --port=6667)
|
||||
port=$(ynh_find_port --port=6667) # Plaintext Port
|
||||
ynh_app_setting_set --app=$app --key=port --value=$port
|
||||
ynh_script_progression --message="Configuring firewall..." --time --weight=1
|
||||
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
|
||||
|
|
Loading…
Reference in a new issue