summaryrefslogtreecommitdiffstats
path: root/startup/upstart-init.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
commit305857535615c13098272b678a72000b021a7fc3 (patch)
tree588d04c9a14561b6bc6d3e5ef09d413692a36771 /startup/upstart-init.in
parentInitial commit. (diff)
downloadnagios-nrpe-upstream/4.0.3.tar.xz
nagios-nrpe-upstream/4.0.3.zip
Adding upstream version 4.0.3.upstream/4.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'startup/upstart-init.in')
-rw-r--r--startup/upstart-init.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/startup/upstart-init.in b/startup/upstart-init.in
new file mode 100644
index 0000000..ec16d7d
--- /dev/null
+++ b/startup/upstart-init.in
@@ -0,0 +1,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