equal
deleted
inserted
replaced
859 |
859 |
860 function startup.prosody() |
860 function startup.prosody() |
861 -- These actions are in a strict order, as many depend on |
861 -- These actions are in a strict order, as many depend on |
862 -- previous steps to have already been performed |
862 -- previous steps to have already been performed |
863 prosody.process_type = "prosody"; |
863 prosody.process_type = "prosody"; |
864 startup.check_user(); |
|
865 startup.parse_args(); |
864 startup.parse_args(); |
866 startup.init_global_state(); |
865 startup.init_global_state(); |
867 startup.read_config(); |
866 startup.read_config(); |
868 startup.init_logging(); |
867 startup.init_logging(); |
|
868 startup.check_user(); |
869 startup.init_gc(); |
869 startup.init_gc(); |
870 startup.init_errors(); |
870 startup.init_errors(); |
871 startup.sanity_check(); |
871 startup.sanity_check(); |
872 startup.sandbox_require(); |
872 startup.sandbox_require(); |
873 startup.set_function_metatable(); |
873 startup.set_function_metatable(); |