mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-24 22:06:49 +01: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
|
|
}
|