327 return username, host, datastore, data; |
327 return username, host, datastore, data; |
328 end); |
328 end); |
329 end |
329 end |
330 |
330 |
331 function prepare_to_start() |
331 function prepare_to_start() |
332 log("debug", "Prosody is using the %s backend for connection handling", server.get_backend()); |
332 log("info", "Prosody is using the %s backend for connection handling", server.get_backend()); |
333 -- Signal to modules that we are ready to start |
333 -- Signal to modules that we are ready to start |
334 prosody.events.fire_event("server-starting"); |
334 prosody.events.fire_event("server-starting"); |
335 |
335 |
336 -- start listening on sockets |
336 -- start listening on sockets |
337 if config.get("*", "core", "ports") then |
337 if config.get("*", "core", "ports") then |