Browse Source

prometheus-statsd-exporter: add a config reload trigger

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

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

@ -86,6 +86,8 @@ service_triggers()
{ {
local web_interface statsd_udp_interface statsd_tcp_interface local web_interface statsd_udp_interface statsd_tcp_interface
procd_add_reload_trigger "prometheus-statsd-exporter"
config_load "prometheus-statsd-exporter" config_load "prometheus-statsd-exporter"
config_get web_interface main web_interface "loopback" config_get web_interface main web_interface "loopback"
config_get statsd_udp_interface main statsd_udp_interface "loopback" config_get statsd_udp_interface main statsd_udp_interface "loopback"


Loading…
Cancel
Save