1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Fix port in restore script

This commit is contained in:
ewilly 2021-06-21 08:55:20 +02:00
parent cfab08bdd2
commit 401285c248

View file

@ -32,8 +32,7 @@ ynh_webpath_available --domain="$domain" --path_url="$path_url" || ynh_die "$dom
ynh_script_progression --message="Restoring the port and opening it..."
# restore port
[ $port -eq $(ynh_find_port $port) ] || ynh_die "$port is not available, please use an other port"
ynh_exec_fully_quiet yunohost firewall allow TCP $port
ynh_exec_warn_less yunohost firewall allow TCP $port
ynh_script_progression --message="Restoring dedicated user, rights and folders..."
# restore dedicated system user