From 4dbc6b605d93a998517eb96c4bae43038199d75a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 31 Jan 2010 17:15:35 +0000 Subject: prosody: Show friendly error when no config present for legacy SSL ports --- prosody | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prosody b/prosody index 05d91b7d..ce56fbb1 100755 --- a/prosody +++ b/prosody @@ -218,6 +218,9 @@ function init_global_state() end elseif err:match("permission") then friendly_message = "Prosody does not have sufficient privileges to use this port"; + elseif err == "no ssl context" then + friendly_message = "there is no 'ssl' config under Host \"*\" which is " + .."require for legacy SSL ports"; end log("error", "Failed to open server port %d, %s", port, friendly_message); end -- cgit v1.2.3