From dd814a7c1a8de056a79f7238578b09236edd5506 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Aug 2023 11:18:49 +0200 Subject: Adding upstream version 1.42.0. Signed-off-by: Daniel Baumann --- system/edit-config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/edit-config') diff --git a/system/edit-config b/system/edit-config index 96ee82d4f..74f3634c3 100755 --- a/system/edit-config +++ b/system/edit-config @@ -57,6 +57,12 @@ is_prefix() { } check_directories() { + if [ -f "${script_dir}/.container-hostname" ]; then + NETDATA_USER_CONFIG_DIR="${script_dir}" + NETDATA_STOCK_CONFIG_DIR="/usr/lib/netdata/conf.d" + return + fi + if [ -e "${script_dir}/.environment" ]; then OLDPATH="${PATH}" # shellcheck disable=SC1091 -- cgit v1.2.3