Comparison

util/prosodyctl/check.lua @ 11560:3bbb1af92514

Merge 0.11->trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 May 2021 11:17:13 +0100
parent 11303:0d932bf3a0f7
child 11587:ce7c52a6d650
comparison
equal deleted inserted replaced
11538:30feeb4d9d0b 11560:3bbb1af92514
45 local known_global_options = set.new({ 45 local known_global_options = set.new({
46 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", 46 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize",
47 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", 47 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings",
48 "network_backend", "http_default_host", 48 "network_backend", "http_default_host",
49 "statistics_interval", "statistics", "statistics_config", 49 "statistics_interval", "statistics", "statistics_config",
50 "plugin_server", "installer_plugin_path", 50 "plugin_server", "installer_plugin_path", "gc"
51 }); 51 });
52 local config = configmanager.getconfig(); 52 local config = configmanager.getconfig();
53 -- Check that we have any global options (caused by putting a host at the top) 53 -- Check that we have any global options (caused by putting a host at the top)
54 if it.count(it.filter("log", pairs(config["*"]))) == 0 then 54 if it.count(it.filter("log", pairs(config["*"]))) == 0 then
55 ok = false; 55 ok = false;