mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-27 14:39:53 -08:00
53e3418e5f
Signed-off-by: Tom Wilkie <tom@grafana.com>
14 lines
225 B
Bash
Executable file
14 lines
225 B
Bash
Executable file
#!/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
|
|
}
|