summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe/files/nrpe.sh
blob: 667b4ac7b9feecf8f9ebf47e5785e18c444f1576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: nrpe.sh,v 1.1.1.1 2006/05/21 10:28:40 grant Exp $
#
# PROVIDE: nrpe
# REQUIRE: DAEMON

. /etc/rc.subr

name="nrpe"
rcvar=$name
command="@PREFIX@/sbin/${name}"
config="@PKG_SYSCONFDIR@/${name}.cfg"
pidfile="/var/run/${name}.pid"

command_args="-c $config -d"

load_rc_config $name
run_rc_command "$1"