Software /
code /
prosody
Changeset
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 | 12440:1ef893715311 |
children | 12442:1c322c277923 12443:17d87fb2312a |
files | util/prosodyctl/check.lua |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Mon Mar 28 11:41:32 2022 +0100 +++ b/util/prosodyctl/check.lua Mon Mar 28 11:41:57 2022 +0100 @@ -332,6 +332,13 @@ end if not what or what == "config" then print("Checking config..."); + + if what == "config" then + local files = configmanager.files(); + print(" The following configuration files have been loaded:"); + print(" - "..table.concat(files, "\n - ")); + end + local obsolete = set.new({ --> remove "archive_cleanup_interval", "cross_domain_bosh",