From 4e94edce516efefce45f94ae5708f25c1a37f3a8 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Fri, 8 Dec 2017 19:03:36 -0800 Subject: [PATCH] prometheus-node-exporter-lua: send stdout/stderr to logread Signed-off-by: Etienne Champetier --- .../files/etc/init.d/prometheus-node-exporter-lua | 3 +++ 1 file changed, 3 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 fc8a0b2e6..a1a47079c 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 @@ -15,5 +15,8 @@ start_service() { procd_append_param command --port ${port} procd_append_param command --bind ${bind} + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance }