Exporter for machine metrics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
node_exporter/examples/openwrt-init.d/node_exporter

13 lines
225 B

#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
PROG="/usr/bin/node_exporter"
OPTIONS="--web.listen-address=:9100"
start_service() {
procd_open_instance
procd_set_param command "$PROG" "${OPTIONS}"
procd_close_instance
}