Imported Upstream version 3.0.1
This commit is contained in:
18
startup/openbsd-init.in
Normal file
18
startup/openbsd-init.in
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2016 Nagios(R) Core(TM) Development Team
|
||||
#
|
||||
|
||||
daemon="@sbindir@/nrpe"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_pre() {
|
||||
install -d -o @nrpe_user@ ${pidfile%/*}
|
||||
}
|
||||
|
||||
rc_reload() {
|
||||
pkill -HUP -xf "${pexp}"
|
||||
}
|
||||
|
||||
rc_cmd "$1"
|
||||
Reference in New Issue
Block a user