From 25fa4ad93203289ec8d78e8d4b687acc3c05004a Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Fri, 16 Nov 2012 12:12:19 +0100 Subject: [PATCH] fixed paths in example configuration file These paths previously got expanded to: #BaseDir "/usr/var/lib/collectd" instead of: #BaseDir "/var/lib/collectd" And on systems which put libs in /usr/lib64: #PluginDir "/usr/lib/collectd" instead of: #PluginDir "/usr/lib64/collectd" Signed-off-by: Florian Forster --- src/collectd.conf.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 9f5dedcd..87af1c96 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -12,9 +12,9 @@ #Hostname "localhost" #FQDNLookup true -#BaseDir "@prefix@/var/lib/@PACKAGE_NAME@" -#PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid" -#PluginDir "@prefix@/lib/@PACKAGE_NAME@" +#BaseDir "@localstatedir@/lib/@PACKAGE_NAME@" +#PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid" +#PluginDir "@libdir@/@PACKAGE_NAME@" #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db" #Interval 10 #Timeout 2 @@ -238,7 +238,7 @@ # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv" # StoreRates false # @@ -351,7 +351,7 @@ # # -# SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email" +# SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email" # SocketGroup "collectd" # SocketPerms "0770" # MaxConns 5 @@ -828,13 +828,13 @@ # # DaemonAddress "unix:/tmp/rrdcached.sock" -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" # CreateFiles true # CollectStatistics true # # -# DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd" +# DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" # CacheTimeout 120 # CacheFlush 900 # -- 2.30.2