From 73821bc3bae48c1f8ad808bef52a84de56b41a17 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Thu, 15 Dec 2022 13:24:56 +0100 Subject: [PATCH] Add random delay in timer to prevent simultaneous access to same files --- systemd-templates/packages-upgrade.timer | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd-templates/packages-upgrade.timer b/systemd-templates/packages-upgrade.timer index 74b007f..9a1d4ee 100644 --- a/systemd-templates/packages-upgrade.timer +++ b/systemd-templates/packages-upgrade.timer @@ -4,6 +4,8 @@ Description=Run packages-upgrade daily [Timer] Unit=packages-upgrade.service OnCalendar=*-*-* 07:00:00 +RandomizedDelaySec=30m +FixedRandomDelay=true Persistent=true [Install]