Mercurial > prosody-hg
diff util/prosodyctl/check.lua @ 13690:d112eac6a3dc 13.0
prosodyctl: check: Warn about deprecated mod_posix
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 13 Feb 2025 18:01:15 +0000 |
| parents | c71feb7686c0 |
| children | 5f1eb8b14923 |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Thu Feb 13 18:00:54 2025 +0000 +++ b/util/prosodyctl/check.lua Thu Feb 13 18:01:15 2025 +0000 @@ -632,6 +632,12 @@ print(" Both mod_pep_simple and mod_pep are enabled but they conflict"); print(" with each other. Remove one."); end + if all_modules:contains("posix") then + print(""); + print(" mod_posix is loaded in your configuration file, but it has"); + print(" been deprecated. You can safely remove it."); + end + for host, host_config in pairs(config) do --luacheck: ignore 213/host if type(rawget(host_config, "storage")) == "string" and rawget(host_config, "default_storage") then print("");
