Code

Cleaned up and documented patches.
[pkg-pnp4nagios.git] / debian / patches / fix-npcd-path
1 Description: Fix perfdata paths in npcd.cfg.
2 Author: Sven Velt <sven@velt.de>
3 Forwarded: not-needed
5 --- a/sample-config/pnp/npcd.cfg-sample.in
6 +++ b/sample-config/pnp/npcd.cfg-sample.in
7 @@ -76,7 +76,7 @@
8  # perfdata_spool_dir = </path/to/directory/>
9  #
10  
11 -perfdata_spool_dir = @PERFDATA_SPOOL_DIR@/
12 +perfdata_spool_dir = @PERFDATA_SPOOL_DIR@/npcd/
13  
14  
15  # Execute following command for each found file
16 @@ -163,7 +163,7 @@
17  # perfdata_file = </path/to/file>
18  #
19  
20 -perfdata_file = @localstatedir@/perfdata.dump
21 +perfdata_file = @PERFDATA_SPOOL_DIR@/nagios/perfdata.dump
22  
23  
24  # perfdata_spool_filename - declare the destination