1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Finding an available port

This commit is contained in:
Alexandre Aubin 2021-01-09 22:46:04 +01:00 committed by Nicolas Frandeboeuf
parent 55968fce5f
commit 5fa1972f44

View file

@ -55,7 +55,7 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
#=================================================
# DEFAULT SETTINGS
#=================================================
ynh_script_progression --message="Configuring firewall..."
ynh_script_progression --message="Finding an available port..."
port=$(ynh_find_port --port=9876)
salt=$(ynh_string_random 40)