aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-02-13 18:01:15 +0000
committerMatthew Wild <mwild1@gmail.com>2025-02-13 18:01:15 +0000
commited5dfc1a624b74e8a93fc896f6b3238be4256607 (patch)
tree74716af125f3522c1484b2adcf7adb44b19c8d4e
parent90fea186dd0a76f18819b9cdf5da3d0ca2b6b020 (diff)
downloadprosody-ed5dfc1a624b74e8a93fc896f6b3238be4256607.tar.gz
prosody-ed5dfc1a624b74e8a93fc896f6b3238be4256607.zip
prosodyctl: check: Warn about deprecated mod_posix
-rw-r--r--util/prosodyctl/check.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index ac8cc9c1..b5e3fbe3 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -632,6 +632,12 @@ local function check(arg)
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("");