From c5eb9e9e42433ddd437a5693ae5a7f2dc17cf41a Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Thu, 3 Jan 2019 09:09:42 +0100 Subject: [PATCH] prometheus-statsd-exporter: add a config reload trigger Signed-off-by: Andre Heider --- .../files/etc/init.d/prometheus-statsd-exporter | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.30.2