summaryrefslogtreecommitdiffstats
path: root/startup/default-socket.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--startup/default-socket.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/startup/default-socket.in b/startup/default-socket.in
new file mode 100644
index 0000000..0921fe8
--- /dev/null
+++ b/startup/default-socket.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=Nagios Remote Plugin Executor
+Documentation=http://www.nagios.org/documentation
+Before=nrpe.service
+Conflicts=nrpe.service
+
+[Socket]
+ListenStream=@nrpe_port@
+Accept=yes
+
+[Install]
+WantedBy=sockets.target