aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nrpe
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2014-03-14 05:24:01 +0800
committermandree <mandree@FreeBSD.org>2014-03-14 05:24:01 +0800
commit7fbf3d74c66da602e46b5bef87fd22ef04d6c701 (patch)
tree224b6478b3828cf97d6c7fa737404786338ce91e /net-mgmt/nrpe
parentd7ac483d212ebea9d3e2a00b27059e2c4bbc9edb (diff)
downloadfreebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.tar.gz
freebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.tar.zst
freebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.zip
Fix acquisition of pidfile location.
PR: ports/186837 Submitted by: Daniel Ylitalo <daniel@203webgroup.se> Approved by: zeising (maintainer)
Diffstat (limited to 'net-mgmt/nrpe')
-rw-r--r--net-mgmt/nrpe/files/nrpe2.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/nrpe/files/nrpe2.in b/net-mgmt/nrpe/files/nrpe2.in
index 52a851373db3..59f94fa5847b 100644
--- a/net-mgmt/nrpe/files/nrpe2.in
+++ b/net-mgmt/nrpe/files/nrpe2.in
@@ -37,7 +37,7 @@ find_pidfile()
[ -n "$nrpe2_pidfile" ] &&
warn "No longer necessary to set nrpe2_pidfile in rc.conf[.local]"
- if get_pidfile_from_conf pid_file %%PREFIX%%/etc/nrpe.cfg; then
+ if get_pidfile_from_conf pid_file ${nrpe2_configfile}; then
pidfile="$_pidfile_from_conf"
else
pidfile='%%PIDDIR%%/nrpe2.pid'