From 6a225eb1a8f6d293b65eb32924444f5b63a33d0c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:20:10 +0200 Subject: Adding debian version 3.2.1-2. Signed-off-by: Daniel Baumann --- debian/nagios-nrpe-server.service | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 debian/nagios-nrpe-server.service (limited to 'debian/nagios-nrpe-server.service') diff --git a/debian/nagios-nrpe-server.service b/debian/nagios-nrpe-server.service new file mode 100644 index 0000000..f67c6da --- /dev/null +++ b/debian/nagios-nrpe-server.service @@ -0,0 +1,23 @@ +[Unit] +Description=Nagios Remote Plugin Executor +Documentation=http://www.nagios.org/documentation +After=var-run.mount nss-lookup.target network.target local-fs.target remote-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=/var/run/nagios/nrpe.pid +EnvironmentFile=-/etc/default/nagios-nrpe-server +ExecStart=/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f $NRPE_OPTS +ExecReload=/bin/kill -HUP $MAINPID +ExecStopPost=/bin/rm -f /var/run/nagios/nrpe.pid +TimeoutStopSec=60 +User=nagios +Group=nagios +PrivateTmp=true +OOMScoreAdjust=-500 -- cgit v1.2.3