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