[packages/nagios-nsca] use writable pid location (so nsca can remove it on shutdown, not complain)
glen
glen at pld-linux.org
Tue Dec 11 16:30:08 CET 2012
commit f6d714d532bdf11e8bc6ae64a975869d1651af7e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Dec 11 17:29:28 2012 +0200
use writable pid location (so nsca can remove it on shutdown, not complain)
nagios-nsca-config.patch | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nagios-nsca-config.patch b/nagios-nsca-config.patch
index d3f7422..01dd360 100644
--- a/nagios-nsca-config.patch
+++ b/nagios-nsca-config.patch
@@ -1,5 +1,5 @@
---- nsca-2.6/sample-config/nsca.cfg.in 2006-07-07 16:38:26.632832206 +0300
-+++ nsca-2.9.1/sample-config/nsca.cfg.in 2012-06-26 01:40:43.486716471 +0300
+--- nsca-2.9.1/sample-config/nsca.cfg.in 2012-06-26 01:40:43.486716471 +0300
++++ nsca-2.9.1/sample-config/nsca.cfg.in 2012-12-11 17:27:23.297896597 +0200
@@ -15,7 +15,7 @@
# directly into the checkresult directory. Requires Nagios 3+
# For best results, mount dir on ramdisk.
@@ -9,6 +9,15 @@
# PID FILE
+@@ -23,7 +23,7 @@
+ # number. The file is only written if the NSCA daemon is started by the root
+ # user as a single- or multi-process daemon.
+
+-pid_file=/var/run/nsca.pid
++pid_file=/var/lib/nagios/nsca.pid
+
+
+
@@ -61,7 +61,7 @@
# NOTE: if you specify this option, the command file will be opened
# relative to this directory.
diff --git a/nagios-nsca.init b/nagios-nsca.init
old mode 100644
new mode 100755
diff --git a/nagios-nsca.submit b/nagios-nsca.submit
old mode 100644
new mode 100755
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-nsca.git/commitdiff/f6d714d532bdf11e8bc6ae64a975869d1651af7e
More information about the pld-cvs-commit
mailing list