]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
nagios_nrpe: Fix for bug 12337
authorAdolf Belka <ahb.ipfire@gmail.com>
Mon, 7 Sep 2020 18:26:46 +0000 (20:26 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Sep 2020 18:51:53 +0000 (18:51 +0000)
- 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>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/nagios_nrpe

index bb736a997d266ec3c07347c004915e57da49178d..075bfdef9e3feee7413c9f2d6d98fe9d2c754d6e 100644 (file)
@@ -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 \