summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-02-05 19:31:07 +0200
committerTasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>2024-02-06 16:33:22 +0200
commit09711ae4a187896e033d3ebe538c3537500e9a80 (patch)
treecc89ce9f3bd72db3d05d62d06f0c1d5e7770af35
parent58f0d6aeec4389b71a83a8ee758ff4a756013f0e (diff)
fix charts.d.plugin configuration directory names (#16939)
(cherry picked from commit 20a476098b1b437e5580a18bb86b9689299df72e)
-rwxr-xr-xcollectors/charts.d.plugin/charts.d.plugin.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in
index 1469480990..4e64b7e236 100755
--- a/collectors/charts.d.plugin/charts.d.plugin.in
+++ b/collectors/charts.d.plugin/charts.d.plugin.in
@@ -192,8 +192,8 @@ info "started from '$PROGRAM_FILE' with options: $*"
[ -z "${NETDATA_STOCK_CONFIG_DIR}" ] && NETDATA_STOCK_CONFIG_DIR="@libconfigdir_POST@"
pluginsd="${NETDATA_PLUGINS_DIR}"
-stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${PROGRAM_NAME}"
-userconfd="${NETDATA_USER_CONFIG_DIR}/${PROGRAM_NAME}"
+stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
+userconfd="${NETDATA_USER_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
olduserconfd="${NETDATA_USER_CONFIG_DIR}"
chartsd="$pluginsd/../charts.d"