luci-app-statistics: Remove erroneous include from default config
authorHannu Nyman <[email protected]>
Tue, 5 Oct 2021 18:42:30 +0000 (21:42 +0300)
committerHannu Nyman <[email protected]>
Tue, 5 Oct 2021 18:49:41 +0000 (21:49 +0300)
Remove the unnecessary Include line from the default config.
It causes error at collectd start, as the directory is missing.
  daemon.err collectd[9722]: configfile: stat (/etc/collectd/conf.d) failed: No such file or directory

Leave the line as a comment/example.

Fixes #5373

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit 2c27f5c9417ff5414a2730a9c310b68fdd5f585c)

applications/luci-app-statistics/root/etc/config/luci_statistics

index d1fef13b6ed772abd62a7c708ece8365f69b52d7..581a1f5a2c8fb04f54ea15e57662deefd9a5051b 100644 (file)
@@ -2,7 +2,7 @@
 
 config statistics 'collectd'
        option BaseDir '/var/run/collectd'
-       option Include '/etc/collectd/conf.d'
+#      option Include '/etc/collectd/conf.d'
        option PIDFile '/var/run/collectd.pid'
        option PluginDir '/usr/lib/collectd'
        option TypesDB '/usr/share/collectd/types.db'