patched up to work with new jserver
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 16 Aug 2005 15:19:27 +0000 (15:19 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 16 Aug 2005 15:19:27 +0000 (15:19 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@483 9efc2488-bf62-4759-914b-345cdb29e865

bin/opensrf_all

index 78cb44f..cf6eaab 100755 (executable)
@@ -41,6 +41,7 @@ JSERVERSOCK="$PREFIX/var/sock/jserver.sock";  # jabber server socket file
 JSERVERLOG="$LOGDIR/jserver.log" # jabber server log 
 JSERVERPORT=5222;                                              # jabber server port 
 JSERVERLEVEL=3; # can be 1-4, 4 is the highest
+JSERVERIP="*"; # can be "*" or a specific local IP address
 ROUTERLOG="$LOGDIR/router.log" # jabber router log
 # --------------------------------------------------------------------------
 # --------------------------------------------------------------------------
@@ -74,7 +75,7 @@ function startJserver {
        fi;
        
        rm -f "$JSERVERSOCK";
-       "$BINDIR/$JSERVERBIN" $JSERVERPORT "$JSERVERSOCK" "$JSERVERLEVEL" "$JSERVERLOG"
+       "$BINDIR/$JSERVERBIN" $JSERVERPORT "$JSERVERIP" "$JSERVERSOCK" "$JSERVERLEVEL" "$JSERVERLOG"
 }