1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00
Files
bootc/systemd/bootc-fetch-apply-updates.timer
Ben Breard 680f4c9fbe bootc-fetch-apply-updates.timer: RandomizedDelaySec=
RandomizedDelaySec= is the best kept secret of timers.

Signed-off-by: Ben Breard <bbreard@redhat.com>
Signed-off-by: Colin Walters <walters@verbum.org>
2024-02-02 09:54:20 -05:00

15 lines
411 B
SYSTEMD

[Unit]
Description=Apply bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Timer]
OnBootSec=1h
# This time is relatively arbitrary and obviously expected to be overridden/changed
OnUnitInactiveSec=8h
# When deploying a large number of systems, it may be beneficial to increase this value to help with load on the registry.
RandomizedDelaySec=2h
[Install]
WantedBy=timers.target