Comparison

util/startup.lua @ 9873:dfaeea570f7e

util.startup: Give function a more generic name so it can apply to all warnings
author Matthew Wild <mwild1@gmail.com>
date Wed, 20 Mar 2019 12:18:34 +0000
parent 9762:34988a408b74
child 9877:ded5303e1fde
comparison
equal deleted inserted replaced
9872:e1d68f32ce29 9873:dfaeea570f7e
94 loggingmanager.reload_logging(); 94 loggingmanager.reload_logging();
95 prosody.events.fire_event("logging-reloaded"); 95 prosody.events.fire_event("logging-reloaded");
96 end); 96 end);
97 end 97 end
98 98
99 function startup.log_dependency_warnings() 99 function startup.log_startup_warnings()
100 dependencies.log_warnings(); 100 dependencies.log_warnings();
101 end 101 end
102 102
103 function startup.sanity_check() 103 function startup.sanity_check()
104 for host, host_config in pairs(config.getconfig()) do 104 for host, host_config in pairs(config.getconfig()) do
516 startup.setup_datadir(); 516 startup.setup_datadir();
517 startup.chdir(); 517 startup.chdir();
518 startup.read_version(); 518 startup.read_version();
519 startup.switch_user(); 519 startup.switch_user();
520 startup.check_dependencies(); 520 startup.check_dependencies();
521 startup.log_dependency_warnings(); 521 startup.log_startup_warnings();
522 startup.check_unwriteable(); 522 startup.check_unwriteable();
523 startup.load_libraries(); 523 startup.load_libraries();
524 startup.init_http_client(); 524 startup.init_http_client();
525 startup.make_dummy_hosts(); 525 startup.make_dummy_hosts();
526 end 526 end
541 startup.setup_datadir(); 541 startup.setup_datadir();
542 startup.chdir(); 542 startup.chdir();
543 startup.add_global_prosody_functions(); 543 startup.add_global_prosody_functions();
544 startup.read_version(); 544 startup.read_version();
545 startup.log_greeting(); 545 startup.log_greeting();
546 startup.log_dependency_warnings(); 546 startup.log_startup_warnings();
547 startup.load_secondary_libraries(); 547 startup.load_secondary_libraries();
548 startup.init_http_client(); 548 startup.init_http_client();
549 startup.init_data_store(); 549 startup.init_data_store();
550 startup.init_global_protection(); 550 startup.init_global_protection();
551 startup.prepare_to_start(); 551 startup.prepare_to_start();