[packages/nagios-nrpe] use --with-piddir
glen
glen at pld-linux.org
Wed Sep 7 15:47:25 CEST 2016
commit d7c31488208e33974fab6a139381ffec58b875ee
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 7 16:47:17 2016 +0300
use --with-piddir
nagios-nrpe-config.patch | 9 ---------
nagios-nrpe.spec | 1 +
2 files changed, 1 insertion(+), 9 deletions(-)
---
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
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).
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-nrpe.git/commitdiff/d7c31488208e33974fab6a139381ffec58b875ee
More information about the pld-cvs-commit
mailing list