From 98c8d0026a2836abf350ac2a393930ff81cef41c Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 13 Feb 2023 18:38:52 +0000 Subject: [PATCH] podman: Increase podman-auto-update.service frequency --- cookbooks/podman/recipes/default.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cookbooks/podman/recipes/default.rb b/cookbooks/podman/recipes/default.rb index dc7b495e1..84137a7a9 100644 --- a/cookbooks/podman/recipes/default.rb +++ b/cookbooks/podman/recipes/default.rb @@ -44,3 +44,16 @@ 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" + on_boot_sec "5m" + on_unit_inactive_sec "20m" + randomized_delay_sec "5m" +end + +service "podman-auto-update-frequency.timer" do + action [:enable, :start] +end -- 2.45.1