From: Andre Heider Date: Thu, 3 Jan 2019 08:09:42 +0000 (+0100) Subject: prometheus-statsd-exporter: add a config reload trigger X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c5eb9e9e42433ddd437a5693ae5a7f2dc17cf41a;p=feed%2Fpackages.git prometheus-statsd-exporter: add a config reload trigger Signed-off-by: Andre Heider --- diff --git a/utils/prometheus-statsd-exporter/files/etc/init.d/prometheus-statsd-exporter b/utils/prometheus-statsd-exporter/files/etc/init.d/prometheus-statsd-exporter index ce228dc1c3..73e6a77ca1 100755 --- a/utils/prometheus-statsd-exporter/files/etc/init.d/prometheus-statsd-exporter +++ b/utils/prometheus-statsd-exporter/files/etc/init.d/prometheus-statsd-exporter @@ -86,6 +86,8 @@ service_triggers() { local web_interface statsd_udp_interface statsd_tcp_interface + procd_add_reload_trigger "prometheus-statsd-exporter" + config_load "prometheus-statsd-exporter" config_get web_interface main web_interface "loopback" config_get statsd_udp_interface main statsd_udp_interface "loopback"