Code

Put fixes for config files into quilt
[pkg-pnp4nagios.git] / debian / patches / fix-npcd-path
diff --git a/debian/patches/fix-npcd-path b/debian/patches/fix-npcd-path
new file mode 100644 (file)
index 0000000..404f186
--- /dev/null
@@ -0,0 +1,22 @@
+Index: pkg-pnp4nagios/sample-config/pnp/npcd.cfg-sample.in
+===================================================================
+--- pkg-pnp4nagios.orig/sample-config/pnp/npcd.cfg-sample.in   2011-01-26 14:33:43.595054016 +0100
++++ pkg-pnp4nagios/sample-config/pnp/npcd.cfg-sample.in        2011-01-26 14:36:53.351054016 +0100
+@@ -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