1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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"