Lines 37-43
Link Here
|
37 |
[ -n "$nrpe2_pidfile" ] && |
37 |
[ -n "$nrpe2_pidfile" ] && |
38 |
warn "No longer necessary to set nrpe2_pidfile in rc.conf[.local]" |
38 |
warn "No longer necessary to set nrpe2_pidfile in rc.conf[.local]" |
39 |
if get_pidfile_from_conf pid_file /usr/local/etc/nrpe.cfg; then |
39 |
if get_pidfile_from_conf pid_file ${nrpe2_configfile}; then |
40 |
pidfile="$_pidfile_from_conf" |
40 |
pidfile="$_pidfile_from_conf" |
41 |
else |
41 |
else |
42 |
pidfile='%%PIDDIR%%/nrpe2.pid' |
42 |
pidfile='%%PIDDIR%%/nrpe2.pid' |