diff options
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -29,12 +29,6 @@ if CFG_DATADIR then end end -require "core.loggingmanager" - -if not require "util.dependencies".check_dependencies() then - os.exit(1); -end - config = require "core.configmanager" do @@ -63,6 +57,12 @@ do end end +require "core.loggingmanager" + +if not require "util.dependencies".check_dependencies() then + os.exit(1); +end + prosody = { hosts = {}, events = events, platform = "posix" }; local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data"; |