]> git.openstreetmap.org Git - chef.git/commitdiff
Enable promscale maintenance timer
authorTom Hughes <tom@compton.nu>
Thu, 28 Jan 2021 21:45:37 +0000 (21:45 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 28 Jan 2021 21:45:37 +0000 (21:45 +0000)
cookbooks/prometheus/recipes/server.rb

index bd1f3b50cec2560902cab77dc4ea073bf9ffe454..d349495ab74dd1ebd1587f06ae1da0779ec3449b 100644 (file)
@@ -144,6 +144,10 @@ systemd_timer "promscale-maintenance" do
   on_unit_inactive_sec 1800
 end
 
+service "promscale-maintenance.timer" do
+  action [:enable, :start]
+end
+
 jobs = {}
 
 search(:node, "roles:gateway") do |gateway|