]> git.openstreetmap.org Git - chef.git/commitdiff
Use monotomic timer to run matomo archiver
authorTom Hughes <tom@compton.nu>
Fri, 25 Nov 2022 17:49:23 +0000 (17:49 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 25 Nov 2022 17:50:29 +0000 (17:50 +0000)
cookbooks/matomo/recipes/default.rb

index 9cea5099d67a24f8cdda8462b682f505bdb79cf1..0e6576103c3bb167be0c6d304837dabed689ce29 100644 (file)
@@ -212,7 +212,8 @@ end
 
 systemd_timer "matomo-archive" do
   description "Matomo report archiving"
-  on_calendar "*:05"
+  on_boot_sec "30m"
+  on_unit_inactive_sec "30m"
 end
 
 service "matomo-archive.timer" do