mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
OpenBSD rc.d script (#1306)
* OpenBSD rc.d script Signed-off-by: Shawn Craver <craversp@gmail.com>
This commit is contained in:
parent
4d88761c13
commit
b8b0195d6d
12
examples/openbsd-rc.d/node_exporter
Executable file
12
examples/openbsd-rc.d/node_exporter
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/ksh
|
||||||
|
# Shawn Craver, 2019-04-02
|
||||||
|
|
||||||
|
|
||||||
|
daemon="/usr/local/bin/node_exporter"
|
||||||
|
|
||||||
|
. /etc/rc.d/rc.subr
|
||||||
|
|
||||||
|
rc_bg=YES
|
||||||
|
|
||||||
|
rc_cmd $1
|
||||||
|
|
Loading…
Reference in a new issue