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 ();
15 -our $Config = "/etc/collection.conf";
16 +our $Config = "/etc/collectd/collection.conf";
17 our @DataDirs = ();
18 our $LibDir;