1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Finding an available port

This commit is contained in:
Alexandre Aubin 2021-01-09 22:43:04 +01:00 committed by GitHub
parent 0e0278cd1f
commit 05c47d876e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ ynh_app_setting_set --app="$app" --key=admin --value="$admin"
#================================================= #=================================================
# FIND AND OPEN A PORT # FIND AND OPEN A PORT
#================================================= #=================================================
ynh_script_progression --message="Configuring firewall..." ynh_script_progression --message="Finding an available port..."
# Find a free port # Find a free port
port=$(ynh_find_port --port=5000) port=$(ynh_find_port --port=5000)