Software /
code /
prosody
Comparison
prosodyctl @ 11529:10bea0941bab 0.11
prosodyctl: check config: Add 'gc' to list of global options
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 30 Apr 2021 21:20:14 +0100 |
parent | 10610:b9a054ad38e7 |
child | 11552:d4b735272a61 |
comparison
equal
deleted
inserted
replaced
11513:549c80feede6 | 11529:10bea0941bab |
---|---|
835 "vcard_compatibility", | 835 "vcard_compatibility", |
836 }); | 836 }); |
837 local known_global_options = set.new({ | 837 local known_global_options = set.new({ |
838 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", | 838 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", |
839 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", | 839 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", |
840 "network_backend", "http_default_host", | 840 "network_backend", "http_default_host", "gc", |
841 "statistics_interval", "statistics", "statistics_config", | 841 "statistics_interval", "statistics", "statistics_config", |
842 }); | 842 }); |
843 local config = configmanager.getconfig(); | 843 local config = configmanager.getconfig(); |
844 -- Check that we have any global options (caused by putting a host at the top) | 844 -- Check that we have any global options (caused by putting a host at the top) |
845 if it.count(it.filter("log", pairs(config["*"]))) == 0 then | 845 if it.count(it.filter("log", pairs(config["*"]))) == 0 then |