From a45e73cf21b0400704511e1ac4721b21080fd40b Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 6 Jan 2022 20:51:36 +0100 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b958ae9..bebd1d1 100644 --- a/scripts/install +++ b/scripts/install @@ -84,7 +84,7 @@ ynh_script_progression --message="Adding the dedicated service..." ynh_add_systemd_config # add service in admin panel -yunohost service add "$app" --log "$log_file" --description "Home Assistant server" --needs_exposed_ports $port +yunohost service add "$app" --log="$log_file" --description="Home Assistant server" --needs_exposed_ports=$port # set permissions myynh_set_permissions diff --git a/scripts/restore b/scripts/restore index 8a35d1a..8f0f3aa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -71,7 +71,7 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet # add service in admin panel -yunohost service add "$app" --log "$log_file" --description "Home Assistant server" --needs_exposed_ports $port +yunohost service add "$app" --log="$log_file" --description="Home Assistant server" --needs_exposed_ports=$port # set permissions myynh_set_permissions