]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/podman/recipes/default.rb
nominatim: switch stormfly back to php frontend
[chef.git] / cookbooks / podman / recipes / default.rb
index dc7b495e13a9b0daa34a9050dc36a3caca93a163..4c8257350f34cc659d70bbde6bb68efe44d0ff59 100644 (file)
@@ -41,6 +41,14 @@ ruby_block "subgid-containers" do
   not_if "grep -q '^containers:' /etc/subgid"
 end
 
   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
 service "podman-auto-update.timer" do
   action [:enable, :start]
 end