X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/98c8d0026a2836abf350ac2a393930ff81cef41c..a4777dddfb2c769864094ec928d5bdcfdd411cc2:/cookbooks/podman/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/podman/recipes/default.rb b/cookbooks/podman/recipes/default.rb index 84137a7a9..4c8257350 100644 --- a/cookbooks/podman/recipes/default.rb +++ b/cookbooks/podman/recipes/default.rb @@ -41,19 +41,14 @@ ruby_block "subgid-containers" do not_if "grep -q '^containers:' /etc/subgid" end -service "podman-auto-update.timer" do - action [:enable, :start] -end - -# Increase the frequency of podman auto updates systemd_timer "podman-auto-update-frequency" do - description "Increased podman auto update frequency" - unit "podman-auto-update.service" + timer "podman-auto-update" + dropin "frequency" on_boot_sec "5m" on_unit_inactive_sec "20m" randomized_delay_sec "5m" end -service "podman-auto-update-frequency.timer" do +service "podman-auto-update.timer" do action [:enable, :start] end