Comparison

util/startup.lua @ 8734:36d49a9c5e88

util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR)
author Kim Alvefur <zash@zash.se>
date Fri, 06 Apr 2018 16:55:17 +0200
parent 8733:6a234e77c99f
child 8748:2fdeb979cc7c
comparison
equal deleted inserted replaced
8733:6a234e77c99f 8734:36d49a9c5e88
514 startup.force_console_logging(); 514 startup.force_console_logging();
515 startup.init_logging(); 515 startup.init_logging();
516 startup.log_dependency_warnings(); 516 startup.log_dependency_warnings();
517 startup.check_unwriteable(); 517 startup.check_unwriteable();
518 startup.load_libraries(); 518 startup.load_libraries();
519 startup.init_global_protection();
520 startup.init_http_client(); 519 startup.init_http_client();
521 startup.make_dummy_hosts(); 520 startup.make_dummy_hosts();
521 startup.init_global_protection();
522 end 522 end
523 523
524 function startup.prosody() 524 function startup.prosody()
525 -- These actions are in a strict order, as many depend on 525 -- These actions are in a strict order, as many depend on
526 -- previous steps to have already been performed 526 -- previous steps to have already been performed