1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Fix port discovery in install

This commit is contained in:
tituspijean 2021-03-08 21:30:11 +01:00
parent 59d1f06fcc
commit 0cbc000b24

View file

@ -62,7 +62,7 @@ port_wg=$(ynh_find_port --port=8095)
ynh_app_setting_set --app=$app --key=port_wg --value=$port_wg ynh_app_setting_set --app=$app --key=port_wg --value=$port_wg
# Find an available port for WireGuard UI # Find an available port for WireGuard UI
port=$(ynh_find_port --port=8096) port=$(ynh_find_port --port=$(($port_wg+1)))
ynh_app_setting_set --app=$app --key=port --value=$port ynh_app_setting_set --app=$app --key=port --value=$port
# Open the WireGuard port # Open the WireGuard port