]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/recipes/smokeping.rb
Restart smokeping exporter when the configuration changes
[chef.git] / cookbooks / prometheus / recipes / smokeping.rb
index 5f11d2c90bf9c73d7315458802410ad2bd7fd5c3..4f9906d32cff7d8d43752373348eb703f013f90c 100644 (file)
@@ -43,4 +43,5 @@ prometheus_exporter "smokeping" do
   capability_bounding_set "CAP_NET_RAW"
   ambient_capabilities "CAP_NET_RAW"
   private_users false
+  subscribes :restart, "template[/etc/prometheus/exporters/smokeping.yml]"
 end