]> git.openstreetmap.org Git - chef.git/commitdiff
Enable prometheus backup timer
authorTom Hughes <tom@compton.nu>
Sat, 21 Oct 2023 14:05:34 +0000 (15:05 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 21 Oct 2023 14:05:34 +0000 (15:05 +0100)
cookbooks/prometheus/recipes/server.rb

index d16d47fda8dfb44ea9aa2b56b868bd94907abf60..6ea6c9333720e8bb03e84c5b4ad72d3e31229eda 100644 (file)
@@ -417,3 +417,7 @@ systemd_timer "prometheus-backup-data" do
   description "Backup prometheus data to S3"
   on_calendar "03:11"
 end
+
+service "prometheus-backup-data.timer" do
+  action [:enable, :start]
+end