File: node_exporter

package info (click to toggle)
prometheus-node-exporter 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,692 kB
  • sloc: sh: 800; makefile: 175; ansic: 122
file content (13 lines) | stat: -rwxr-xr-x 225 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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
}