Imported Debian patch 0.6.24+dfsg1-4~bpo80+1

This commit is contained in:
Micah Anderson
2015-12-08 13:39:31 -05:00
committed by Mario Fetka
parent 32a360eca6
commit 69f960eb4a
52 changed files with 2348 additions and 0 deletions

24
debian/patches/fix-npcd-path vendored Normal file
View File

@@ -0,0 +1,24 @@
Description: Fix perfdata paths in npcd.cfg.
Author: Sven Velt <sven@velt.de>
Forwarded: not-needed
--- a/sample-config/pnp/npcd.cfg-sample.in
+++ b/sample-config/pnp/npcd.cfg-sample.in
@@ -76,7 +76,7 @@
# perfdata_spool_dir = </path/to/directory/>
#
-perfdata_spool_dir = @PERFDATA_SPOOL_DIR@
+perfdata_spool_dir = @PERFDATA_SPOOL_DIR@/npcd/
# Execute following command for each found file
@@ -163,7 +163,7 @@
# perfdata_file = </path/to/file>
#
-perfdata_file = @localstatedir@/perfdata.dump
+perfdata_file = @PERFDATA_SPOOL_DIR@/nagios/perfdata.dump
# perfdata_spool_filename - declare the destination