1
0
Fork 0
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:
navanchauhan 2022-05-31 16:05:34 -06:00
parent 924aa1c88a
commit e8fe1c1e89

View file

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