nagios-nrpe/startup/openbsd-init.in

19 lines
228 B
Plaintext
Raw Normal View History

2017-05-04 11:53:58 +02:00
#!/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"