From ddb3ddde0c0fd096dbac31281b84b4116d4456a3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 8 Jun 2021 00:59:12 +0200 Subject: [PATCH] Fix not_mandatory restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 741e1a0..4791091 100644 --- a/scripts/restore +++ b/scripts/restore @@ -97,7 +97,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$final_path" ynh_restore_file --origin_path="$config_path" ynh_restore_file --origin_path="/etc/default/jellyfin" --not_mandatory -ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory #================================================= # RECREATE THE DEDICATED USER @@ -132,7 +131,7 @@ ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y -o Dpkg::Opti #================================================= ynh_script_progression --message="Restoring the systemd configuration..." --time --weight=1 -ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" +ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory ynh_restore_file --origin_path="/lib/systemd/system/jellyfin.service" systemctl enable jellyfin.service --quiet