303 return username, host, datastore, data; |
303 return username, host, datastore, data; |
304 end); |
304 end); |
305 end |
305 end |
306 |
306 |
307 function prepare_to_start() |
307 function prepare_to_start() |
308 log("debug", "Prosody is using the %s backend for connection handling", server.get_backend()); |
308 log("info", "Prosody is using the %s backend for connection handling", server.get_backend()); |
309 -- Signal to modules that we are ready to start |
309 -- Signal to modules that we are ready to start |
310 eventmanager.fire_event("server-starting"); |
310 eventmanager.fire_event("server-starting"); |
311 prosody.events.fire_event("server-starting"); |
311 prosody.events.fire_event("server-starting"); |
312 |
312 |
313 -- start listening on sockets |
313 -- start listening on sockets |