[collectd] patch fixing collectd.conf.in template path
Christian Wiese
morfoh at opensde.org
Thu Jun 19 12:13:14 CEST 2008
Hi,
here is a trivial patch that fixes the generated path in
collectd.conf.in template for BASEDIR and PIDFile.
# diff -ruN collectd-4.4.1/src/collectd.conf.in{.orig,}
--- collectd-4.4.1/src/collectd.conf.in.orig 2008-06-19
11:57:09.000000000 +0200 +++ collectd-4.4.1/src/collectd.conf.in
2008-06-19 12:00:07.000000000 +0200 @@ -6,8 +6,8 @@
#Hostname "localhost"
FQDNLookup true
-#BaseDir "@prefix@/var/lib/@PACKAGE_NAME@"
-#PIDFile "@prefix@/var/run/@PACKAGE_NAME at .pid"
+#BaseDir "@localstatedir@/lib/@PACKAGE_NAME@"
+#PIDFile "@localstatedir@/run/@PACKAGE_NAME at .pid"
#PluginDir "@prefix@/lib/@PACKAGE_NAME@"
#TypesDB "@prefix@/lib/@PACKAGE_NAME@/types.db"
#Interval 10
-------------------------------snip------------------------------
Cheers,
Chris
More information about the collectd
mailing list