Software /
code /
prosody
Comparison
prosodyctl @ 6751:18f18bceb662
prosodyctl: check: Add some more known global config options
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 Jul 2015 22:20:29 +0200 |
parent | 6711:76683a3f3d75 |
child | 6784:4da860edc27c |
comparison
equal
deleted
inserted
replaced
6748:ccf4fcfc2024 | 6751:18f18bceb662 |
---|---|
839 local deprecated = set.new({ | 839 local deprecated = set.new({ |
840 "bosh_ports", "disallow_s2s", "no_daemonize", "anonymous_login", "require_encryption", | 840 "bosh_ports", "disallow_s2s", "no_daemonize", "anonymous_login", "require_encryption", |
841 }); | 841 }); |
842 local known_global_options = set.new({ | 842 local known_global_options = set.new({ |
843 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", | 843 "pidfile", "log", "plugin_paths", "prosody_user", "prosody_group", "daemonize", |
844 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings" | 844 "umask", "prosodyctl_timeout", "use_ipv6", "use_libevent", "network_settings", |
845 "network_backend", "http_default_host", | |
845 }); | 846 }); |
846 local config = config.getconfig(); | 847 local config = config.getconfig(); |
847 -- Check that we have any global options (caused by putting a host at the top) | 848 -- Check that we have any global options (caused by putting a host at the top) |
848 if it.count(it.filter("log", pairs(config["*"]))) == 0 then | 849 if it.count(it.filter("log", pairs(config["*"]))) == 0 then |
849 ok = false; | 850 ok = false; |