summaryrefslogtreecommitdiffstats
path: root/startup/upstart-init.in
blob: ec16d7da1e64cbc63e1dfb839b11a6a71566b2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# nrpe - the Nagios Remote Plugin Executor
#
# nrpe is a program that runs plugins on this host
# and reports the results back to a nagios server
#
# Copyright (c) 2016 Nagios(R) Core(TM) Development Team

description		"the Nagios Remote Plugin Executor"

oom score -800
setgid @nrpe_group@
setuid @nrpe_user@

start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]

respawn

exec @sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -f