diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:20:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:20:09 +0000 |
commit | 018433a6da60c6395baaaa0833d5c50ac6645552 (patch) | |
tree | 2012deeff2f98b267c0c10425c1d4a054190b73f /startup/default-service.in | |
parent | Initial commit. (diff) | |
download | nagios-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/default-service.in')
-rw-r--r-- | startup/default-service.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/startup/default-service.in b/startup/default-service.in new file mode 100644 index 0000000..b6c6063 --- /dev/null +++ b/startup/default-service.in @@ -0,0 +1,24 @@ +[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 +Before=getty@tty1.service plymouth-quit.service xdm.service +Conflicts=nrpe.socket + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +Restart=on-abort +PIDFile=@piddir@/nrpe.pid +RuntimeDirectory=nrpe +RuntimeDirectoryMode=0755 +ExecStart=@sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -f +ExecReload=/bin/kill -HUP $MAINPID +ExecStopPost=/bin/rm -f @piddir@/nrpe.pid +TimeoutStopSec=60 +User=@nrpe_user@ +Group=@nrpe_group@ +PrivateTmp=true +OOMScoreAdjust=-500 |