1
0
Fork 0
nagios-nrpe/startup/openbsd-init.in
Daniel Baumann e3fe184eee
Adding upstream version 4.1.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:36:40 +02:00

18 lines
228 B
Bash

#!/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"