add an rc script for nrpe; ok ajacoutot@
This commit is contained in:
parent
6d0528957b
commit
84291d928e
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2010/11/19 22:31:35 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2011/01/20 14:04:42 sthen Exp $
|
||||
|
||||
COMMENT= Nagios Remote Plugin Executor
|
||||
|
||||
DISTNAME= nrpe-2.12
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2008/11/13 08:33:16 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2011/01/20 14:04:42 sthen Exp $
|
||||
@newgroup _nrpe:556
|
||||
@newuser _nrpe:556:_nrpe:daemon:NRPE Account:/nonexistent:/sbin/nologin
|
||||
@bin libexec/nagios/check_nrpe
|
||||
@ -9,3 +9,4 @@ share/doc/nrpe/SECURITY
|
||||
share/examples/nrpe/
|
||||
share/examples/nrpe/nrpe.cfg
|
||||
@sample ${SYSCONFDIR}/nrpe.cfg
|
||||
@rcscript ${RCDIR}/nrpe
|
||||
|
10
net/nagios/nrpe/pkg/nrpe.rc
Normal file
10
net/nagios/nrpe/pkg/nrpe.rc
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: nrpe.rc,v 1.1 2011/01/20 14:04:42 sthen Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/nrpe"
|
||||
daemon_flags="-d"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user