From d7c31488208e33974fab6a139381ffec58b875ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 7 Sep 2016 16:47:17 +0300 Subject: [PATCH] use --with-piddir --- nagios-nrpe-config.patch | 9 --------- nagios-nrpe.spec | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/nagios-nrpe-config.patch b/nagios-nrpe-config.patch index 0db94b9..7cd8cd8 100644 --- a/nagios-nrpe-config.patch +++ b/nagios-nrpe-config.patch @@ -1,14 +1,5 @@ --- nrpe-3.0.orig/sample-config/nrpe.cfg.in 2016-07-12 23:24:40.000000000 +0300 +++ nrpe-3.0/sample-config/nrpe.cfg.in 2016-09-07 15:46:35.913180521 +0300 -@@ -23,7 +23,7 @@ - # number. The file is only written if the NRPE daemon is started by the root - # user and is running in standalone mode. - --pid_file=@piddir@/nrpe.pid -+pid_file=/var/run/nrpe/nrpe.pid - - - @@ -257,47 +257,8 @@ # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). diff --git a/nagios-nrpe.spec b/nagios-nrpe.spec index 745262f..e505f95 100644 --- a/nagios-nrpe.spec +++ b/nagios-nrpe.spec @@ -73,6 +73,7 @@ na innych komputerach za pomocą demona nrpe. --with-nrpe-port=%{nsport} \ --with-nrpe-user=nagios \ --with-nrpe-group=nagios \ + --with-piddir=/var/run/nrpe \ --enable-ssl \ --with-ssl-lib=%{_libdir} \ --enable-command-args -- 2.43.0