]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/recipes/server.rb
Enable promscale maintenance timer
[chef.git] / 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|