From bc272cfd47d5a6c31b61c4cfdfe2bc736fd7204c Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 22 Jan 2022 14:36:54 +0000 Subject: [PATCH] No need to backup service file, it's included in deb files --- scripts/backup | 1 - scripts/restore | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index aa00def..18038d9 100644 --- a/scripts/backup +++ b/scripts/backup @@ -61,7 +61,6 @@ ynh_backup --src_path="/etc/logrotate.d/$app" #================================================= ynh_backup --src_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory -ynh_backup --src_path="/lib/systemd/system/jellyfin.service" #================================================= # BACKUP VARIOUS FILES diff --git a/scripts/restore b/scripts/restore index f04d7fe..2d796bb 100644 --- a/scripts/restore +++ b/scripts/restore @@ -149,7 +149,6 @@ ynh_exec_warn_less dpkg --force-confdef --force-confold -i $tempdir/jellyfin-web ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 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 #=================================================