X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/eb10ee11cf967f641485a4124c337f52ce6b9939..8de21e204dc53bb28ad67207c308489f706ff00d:/cookbooks/podman/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/podman/recipes/default.rb b/cookbooks/podman/recipes/default.rb index dc7b495e1..4c8257350 100644 --- a/cookbooks/podman/recipes/default.rb +++ b/cookbooks/podman/recipes/default.rb @@ -41,6 +41,14 @@ ruby_block "subgid-containers" do not_if "grep -q '^containers:' /etc/subgid" end +systemd_timer "podman-auto-update-frequency" do + timer "podman-auto-update" + dropin "frequency" + on_boot_sec "5m" + on_unit_inactive_sec "20m" + randomized_delay_sec "5m" +end + service "podman-auto-update.timer" do action [:enable, :start] end