end
end
+-- Initialize logging
+require "core.loggingmanager"
+
-- Check runtime dependencies
if not require "util.dependencies".check_dependencies() then
os.exit(1);
end
function load_libraries()
- -- Initialize logging
- require "core.loggingmanager"
-
-- Load socket framework
server = require "net.server"
end
elseif port == 5280 then
friendly_message = "check that Prosody or a BOSH connection manager "
.."is not already running";
+ else
+ friendly_message = "this port is in use by another application";
end
elseif err:match("permission") then
friendly_message = "Prosody does not have sufficient privileges to use this port";