fix charts.d.plugin configuration directory names (#16939)
Ilya Mashchenko committed
Feb 5, 2024 at 19:31 UTC
20a476098b1b437e5580a18bb86b9689299df72e
1 file changed
+2
-2
collectors/charts.d.plugin/charts.d.plugin.in
+2
-2
@@ -192,8 +192,8 @@ info "started from '$PROGRAM_FILE' with options: $*"
192
[ -z "${NETDATA_STOCK_CONFIG_DIR}" ] && NETDATA_STOCK_CONFIG_DIR="@libconfigdir_POST@"
193
194
pluginsd="${NETDATA_PLUGINS_DIR}"
195
-stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${PROGRAM_NAME}"
196
-userconfd="${NETDATA_USER_CONFIG_DIR}/${PROGRAM_NAME}"
195
+stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
196
+userconfd="${NETDATA_USER_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
197
olduserconfd="${NETDATA_USER_CONFIG_DIR}"
198
chartsd="$pluginsd/../charts.d"
199