Comparison

util/prosodyctl/check.lua @ 12118:30d55809d9a6

util.prosodyctl.check: Add some more obsolete settings
author Kim Alvefur <zash@zash.se>
date Sat, 25 Dec 2021 13:00:23 +0100
parent 12099:b344edad61d3
child 12119:28f723cff236
comparison
equal deleted inserted replaced
12117:0c9b64178eda 12118:30d55809d9a6
101 end 101 end
102 end 102 end
103 if not what or what == "config" then 103 if not what or what == "config" then
104 print("Checking config..."); 104 print("Checking config...");
105 local obsolete = set.new({ --> remove 105 local obsolete = set.new({ --> remove
106 "archive_cleanup_interval",
106 "cross_domain_bosh", 107 "cross_domain_bosh",
107 "cross_domain_websocket", 108 "cross_domain_websocket",
109 "dns_timeout",
110 "muc_log_cleanup_interval",
111 "s2s_dns_resolvers",
112 "setgid",
113 "setuid",
108 }); 114 });
109 local deprecated_replacements = { 115 local deprecated_replacements = {
110 anonymous_login = "use 'authentication = \"anonymous\"'", 116 anonymous_login = "use 'authentication = \"anonymous\"'",
111 daemonize = "use the --daemonize/-D or --foreground/-F command line flags", 117 daemonize = "use the --daemonize/-D or --foreground/-F command line flags",
112 disallow_s2s = "add \"s2s\" to 'modules_disabled'", 118 disallow_s2s = "add \"s2s\" to 'modules_disabled'",