comparison util/prosodyctl/check.lua @ 12441:dc6263625069 0.12

prosodyctl: check config: Report paths of loaded configuration files (fixed #1729)
author Matthew Wild <mwild1@gmail.com>
date Mon, 28 Mar 2022 11:41:57 +0100
parents 19fd28239e73
children 9ee41552bca0
comparison
equal deleted inserted replaced
12440:1ef893715311 12441:dc6263625069
330 print"" 330 print""
331 end 331 end
332 end 332 end
333 if not what or what == "config" then 333 if not what or what == "config" then
334 print("Checking config..."); 334 print("Checking config...");
335
336 if what == "config" then
337 local files = configmanager.files();
338 print(" The following configuration files have been loaded:");
339 print(" - "..table.concat(files, "\n - "));
340 end
341
335 local obsolete = set.new({ --> remove 342 local obsolete = set.new({ --> remove
336 "archive_cleanup_interval", 343 "archive_cleanup_interval",
337 "cross_domain_bosh", 344 "cross_domain_bosh",
338 "cross_domain_websocket", 345 "cross_domain_websocket",
339 "dns_timeout", 346 "dns_timeout",