Software /
code /
prosody
Diff
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 |
parent | 12416:19fd28239e73 |
child | 12466:9ee41552bca0 |
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",