summaryrefslogtreecommitdiffstats
path: root/startup/default-socket-svc.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/default-socket-svc.in
parentInitial commit. (diff)
downloadnagios-nrpe-305857535615c13098272b678a72000b021a7fc3.tar.xz
nagios-nrpe-305857535615c13098272b678a72000b021a7fc3.zip
Adding upstream version 4.0.3.upstream/4.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--startup/default-socket-svc.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/startup/default-socket-svc.in b/startup/default-socket-svc.in
new file mode 100644
index 0000000..7e6acac
--- /dev/null
+++ b/startup/default-socket-svc.in
@@ -0,0 +1,16 @@
+[Unit]
+Description=Nagios Remote Plugin Executor
+Documentation=http://www.nagios.org/documentation
+After=var-run.mount nss-lookup.target network.target local-fs.target time-sync.target
+
+[Service]
+Restart=on-failure
+ExecStart=@sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg --inetd
+KillMode=process
+User=@nrpe_user@
+Group=@nrpe_group@
+PrivateTmp=true
+OOMScoreAdjust=-500
+
+[Install]
+WantedBy=multi-user.target