|
From: <abe...@us...> - 2013-04-25 21:32:05
|
Revision: 6056
http://sourceforge.net/p/astlinux/code/6056
Author: abelbeck
Date: 2013-04-25 21:31:59 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
prosody, when Server-to-Server is disabled don't listen on port 5269 - per Matthew Wild prosody mailing list
Modified Paths:
--------------
branches/1.0/package/prosody/prosody.init
Modified: branches/1.0/package/prosody/prosody.init
===================================================================
--- branches/1.0/package/prosody/prosody.init 2013-04-25 00:15:21 UTC (rev 6055)
+++ branches/1.0/package/prosody/prosody.init 2013-04-25 21:31:59 UTC (rev 6056)
@@ -40,9 +40,11 @@
if [ "$XMPP_ENABLE_S2S" = "yes" ]; then
MODS="$DEFAULT_MODULES $DEFAULT_MODULES_S2S"
no_s2s="false"
+ s2s_port="${XMPP_S2S_PORT:-5269}"
else
MODS="$DEFAULT_MODULES"
no_s2s="true"
+ s2s_port=""
fi
if [ "$XMPP_GROUPS" = "yes" ]; then
@@ -81,8 +83,6 @@
c2s_port="${XMPP_C2S_PORT:-5222}"
- s2s_port="${XMPP_S2S_PORT:-5269}"
-
log="${XMPP_LOG:-none}"
if [ "$log" = "warn" -o "$log" = "info" -o "$log" = "debug" ]; then
LOG_OK=""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|