mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
RandomizedDelaySec= is the best kept secret of timers. Signed-off-by: Ben Breard <bbreard@redhat.com> Signed-off-by: Colin Walters <walters@verbum.org>
15 lines
411 B
SYSTEMD
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
|