mirror of
https://github.com/prometheus/node_exporter
synced 2024-12-17 20:05:10 +00: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 New Issue
Block a user