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:
parent
cfab08bdd2
commit
401285c248
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue