Changeset

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 13689:6049c1602c79
children 13691:8c0db1524dd9 13692:18bc411d61fe
files util/prosodyctl/check.lua
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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("");