Create custom bootc update unit

This commit is contained in:
Gerald Pinder
2025-03-09 16:30:10 -04:00
parent 8cd6d24497
commit 28ee8b49b3
5 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
[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