initial commit
This commit is contained in:
commit
9afe51eaf4
815 changed files with 333651 additions and 0 deletions
17
rcctl_exporter.rc
Normal file
17
rcctl_exporter.rc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
daemon="/usr/local/bin/rcctl_exporter"
|
||||
daemon_user=_rcctlexporter
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="${daemon}.*"
|
||||
rc_bg=YES
|
||||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
${rcexec} "${daemon} ${daemon_flags} < /dev/null 2>&1 | \
|
||||
logger -p daemon.info -t rcctl_exporter"
|
||||
}
|
||||
|
||||
rc_cmd $1
|
||||
Loading…
Add table
Add a link
Reference in a new issue