Comparison

util/prosodyctl/check.lua @ 11616:cd4006709493

util.prosodyctl.check: Deprecate legacy_ssl related options
author Kim Alvefur <zash@zash.se>
date Sun, 20 Jun 2021 17:34:50 +0200
parent 11615:8e16fd976c57
child 11617:166f8e1d82b0
comparison
equal deleted inserted replaced
11615:8e16fd976c57 11616:cd4006709493
39 if not what or what == "config" then 39 if not what or what == "config" then
40 print("Checking config..."); 40 print("Checking config...");
41 local deprecated = set.new({ 41 local deprecated = set.new({
42 "bosh_ports", "disallow_s2s", "no_daemonize", "anonymous_login", "require_encryption", 42 "bosh_ports", "disallow_s2s", "no_daemonize", "anonymous_login", "require_encryption",
43 "vcard_compatibility", "cross_domain_bosh", "cross_domain_websocket", "daemonize", 43 "vcard_compatibility", "cross_domain_bosh", "cross_domain_websocket", "daemonize",
44 "legacy_ssl_port", "legacy_ssl_ports", "legacy_ssl_interfaces", "legacy_ssl_ssl",
44 }); 45 });
45 local known_global_options = set.new({ 46 local known_global_options = set.new({
46 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", 47 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize",
47 "umask", "prosodyctl_timeout", "use_ipv6", "use_ipv4", "use_libevent", "network_settings", 48 "umask", "prosodyctl_timeout", "use_ipv6", "use_ipv4", "use_libevent", "network_settings",
48 "network_backend", "http_default_host", 49 "network_backend", "http_default_host",