use --with-piddir
authorElan Ruusamäe <glen@delfi.ee>
Wed, 7 Sep 2016 13:47:17 +0000 (16:47 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 7 Sep 2016 13:47:17 +0000 (16:47 +0300)
nagios-nrpe-config.patch
nagios-nrpe.spec

index 0db94b9603f6d2b235814e1ce4205f3ea652dd23..7cd8cd8862c3370a8e8d6cab18c6479159418add 100644 (file)
@@ -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).
index 745262f88ad38084b94717fea29f1d3fce6188f7..e505f95f09ba82a52d9e0955600aeff4f63d5690 100644 (file)
@@ -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
This page took 0.072276 seconds and 4 git commands to generate.