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