Browse Source

prometheus-node-exporter-lua: send stdout/stderr to logread

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne Champetier 7 years ago
parent
commit
4e94edce51
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua

+ 3
- 0
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua View File

@ -15,5 +15,8 @@ start_service() {
procd_append_param command --port ${port} procd_append_param command --port ${port}
procd_append_param command --bind ${bind} procd_append_param command --bind ${bind}
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance procd_close_instance
} }

Loading…
Cancel
Save