From 56e0861f77669736700f79803c26d76714115c2b Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Wed, 2 Jan 2019 15:33:08 +0100 Subject: [PATCH] prometheus-node-exporter-lua: add a config reload trigger Signed-off-by: Andre Heider (cherry picked from commit d8e637d064ba62d60649bc11c2fd4b41ff9e7710) --- .../files/etc/init.d/prometheus-node-exporter-lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua b/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua index f4cd1c94c8..80a6acdfc4 100644 --- a/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua +++ b/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua @@ -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" -- 2.30.2