prometheus-node-exporter-lua: add a config reload trigger
authorAndre Heider <a.heider@gmail.com>
Wed, 2 Jan 2019 14:33:08 +0000 (15:33 +0100)
committerEtienne Champetier <champetier.etienne@gmail.com>
Mon, 18 Nov 2019 02:16:48 +0000 (18:16 -0800)
Signed-off-by: Andre Heider <a.heider@gmail.com>
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua

index f4cd1c94c817582e2861e4a7be591e10cca9c999..80a6acdfc45fca9861ebddc90905ab259c9702ab 100644 (file)
@@ -49,6 +49,8 @@ service_triggers()
 {
        local interface
 
+       procd_add_reload_trigger "prometheus-node-exporter-lua"
+
        config_load prometheus-node-exporter-lua.main
        config_get interface "main" listen_interface "loopback"