diff --git a/scripts/backup b/scripts/backup index 92a6caa..aa00def 100644 --- a/scripts/backup +++ b/scripts/backup @@ -60,7 +60,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app" # BACKUP SYSTEMD #================================================= -ynh_backup --src_path="/etc/systemd/system/jellyfin.service.d" +ynh_backup --src_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory ynh_backup --src_path="/lib/systemd/system/jellyfin.service" #================================================= @@ -68,7 +68,7 @@ ynh_backup --src_path="/lib/systemd/system/jellyfin.service" #================================================= ynh_backup --src_path="$config_path" -ynh_backup --src_path="/etc/default/jellyfin" +ynh_backup --src_path="/etc/default/jellyfin" --not_mandatory #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 2b1daa5..f26d606 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,7 +65,8 @@ 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" +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