use a subdir for the pid file to avoid log spam; pointed out by Julien Dhaille
This commit is contained in:
parent
e894a7bb3d
commit
ebfd5e5feb
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2011/12/17 22:01:13 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2012/09/05 19:55:57 sthen Exp $
|
||||
|
||||
COMMENT= Nagios Remote Plugin Executor
|
||||
|
||||
# packaged from Icinga git repo.
|
||||
DISTNAME= icinga-nrpe-2.12.20100914
|
||||
REVISION= 1
|
||||
REVISION= 3
|
||||
PKGNAME= ${DISTNAME:S/icinga-//}
|
||||
WRKDIST= ${WRKDIR}/icinga-nrpe
|
||||
CATEGORIES= net
|
||||
|
@ -1,9 +1,13 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: nrpe.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
|
||||
# $OpenBSD: nrpe.rc,v 1.3 2012/09/05 19:55:57 sthen Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/nrpe -d"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_pre() {
|
||||
install -o _nrpe -d /var/run/nrpe
|
||||
}
|
||||
|
||||
rc_cmd $1
|
||||
|
Loading…
Reference in New Issue
Block a user