- added pid_file=/var/run to the configure statement to give the required pid directory in the default nrpe.cfg file
Signed-off-by: Adolf Belka ahb.ipfire@gmail.com --- lfs/nagios_nrpe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lfs/nagios_nrpe b/lfs/nagios_nrpe index bb736a997..075bfdef9 100644 --- a/lfs/nagios_nrpe +++ b/lfs/nagios_nrpe @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nagios_nrpe -PAK_VER = 5 +PAK_VER = 6
DEPS = nagios-plugins
@@ -82,6 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --prefix=/usr \ --libexecdir=/usr/lib/nagios \ --sysconfdir=/etc/nagios \ + --with-piddir=/var/run \ --with-init-type=sysv \ --with-nrpe-user=nobody \ --with-nrpe-group=nobody \
Reviewed-by: Michael Tremer michael.tremer@ipfire.org
On 7 Sep 2020, at 19:26, Adolf Belka ahb.ipfire@gmail.com wrote:
- added pid_file=/var/run to the configure statement
to give the required pid directory in the default nrpe.cfg file
Signed-off-by: Adolf Belka ahb.ipfire@gmail.com
lfs/nagios_nrpe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lfs/nagios_nrpe b/lfs/nagios_nrpe index bb736a997..075bfdef9 100644 --- a/lfs/nagios_nrpe +++ b/lfs/nagios_nrpe @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nagios_nrpe -PAK_VER = 5 +PAK_VER = 6
DEPS = nagios-plugins
@@ -82,6 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --prefix=/usr \ --libexecdir=/usr/lib/nagios \ --sysconfdir=/etc/nagios \
--with-init-type=sysv \ --with-nrpe-user=nobody \ --with-nrpe-group=nobody \--with-piddir=/var/run \
-- 2.28.0