summaryrefslogtreecommitdiffstats
path: root/startup/rh-upstart-init.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:20:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:20:09 +0000
commit018433a6da60c6395baaaa0833d5c50ac6645552 (patch)
tree2012deeff2f98b267c0c10425c1d4a054190b73f /startup/rh-upstart-init.in
parentInitial commit. (diff)
downloadnagios-nrpe-018433a6da60c6395baaaa0833d5c50ac6645552.tar.xz
nagios-nrpe-018433a6da60c6395baaaa0833d5c50ac6645552.zip
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'startup/rh-upstart-init.in')
-rw-r--r--startup/rh-upstart-init.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/startup/rh-upstart-init.in b/startup/rh-upstart-init.in
new file mode 100644
index 0000000..58bf3b5
--- /dev/null
+++ b/startup/rh-upstart-init.in
@@ -0,0 +1,17 @@
+# 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 -10
+
+start on started network
+stop on runlevel [!2345]
+
+respawn
+
+exec @sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -f