]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/matomo/recipes/default.rb
Add logrotate where required
[chef.git] / cookbooks / matomo / recipes / default.rb
index 9cea5099d67a24f8cdda8462b682f505bdb79cf1..5557d78d09a878067ca60e0f7a21fb1e928eef53 100644 (file)
@@ -37,6 +37,8 @@ package %w[
 ]
 
 apache_module "expires"
+apache_module "proxy"
+apache_module "proxy_fcgi"
 apache_module "rewrite"
 
 version = node[:matomo][:version]
@@ -212,7 +214,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