Code

f4ca8e9f03defe8f3132f9f6e127f86ad0b26d63
[pkg-collectd.git] / debian / patches / collection_conf_path.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## collection_conf_path.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: Set the path of collection.conf to /etc/collectd/.
6 @DPATCH@
8 diff a/contrib/collection.cgi b/contrib/collection.cgi
9 --- a/contrib/collection.cgi
10 +++ b/contrib/collection.cgi
11 @@ -11,7 +11,7 @@ use URI::Escape ('uri_escape');
12  use RRDs ();
13  use Data::Dumper ();
14  
15 -our $Config = "/etc/collection.conf";
16 +our $Config = "/etc/collectd/collection.conf";
17  our @DataDirs = ();
18  our $LibDir;