Browse Source

prometheus-node-exporter-lua: add a config reload trigger

Signed-off-by: Andre Heider <a.heider@gmail.com>
lilik-openwrt-22.03
Andre Heider 6 years ago
committed by Etienne Champetier
parent
commit
d8e637d064
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua

+ 2
- 0
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua View File

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


Loading…
Cancel
Save