summaryrefslogtreecommitdiff
path: root/utils/prometheus-node-exporter-lua
diff options
context:
space:
mode:
authorEtienne Champetier <champetier.etienne@gmail.com>2017-12-08 19:03:36 -0800
committerEtienne Champetier <champetier.etienne@gmail.com>2017-12-08 21:22:16 -0800
commit4e94edce516efefce45f94ae5708f25c1a37f3a8 (patch)
treed8a60355e2857745563693a89aa088a745970e60 /utils/prometheus-node-exporter-lua
parent8f7ccc350646050f72f87ca7ae7e7b0e29dbc704 (diff)
prometheus-node-exporter-lua: send stdout/stderr to logread
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Diffstat (limited to 'utils/prometheus-node-exporter-lua')
-rw-r--r--utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua3
1 files changed, 3 insertions, 0 deletions
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
}