svn commit: r348129 - head/net-mgmt/nrpe/files

Matthias Andree mandree at FreeBSD.org
Thu Mar 13 21:24:02 UTC 2014


Author: mandree
Date: Thu Mar 13 21:24:01 2014
New Revision: 348129
URL: http://svnweb.freebsd.org/changeset/ports/348129
QAT: https://qat.redports.org/buildarchive/r348129/

Log:
  Fix acquisition of pidfile location.
  
  PR:		ports/186837
  Submitted by:	Daniel Ylitalo <daniel at 203webgroup.se>
  Approved by:	zeising (maintainer)

Modified:
  head/net-mgmt/nrpe/files/nrpe2.in

Modified: head/net-mgmt/nrpe/files/nrpe2.in
==============================================================================
--- head/net-mgmt/nrpe/files/nrpe2.in	Thu Mar 13 21:22:11 2014	(r348128)
+++ head/net-mgmt/nrpe/files/nrpe2.in	Thu Mar 13 21:24:01 2014	(r348129)
@@ -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'


More information about the svn-ports-head mailing list