patched up to work with new jserver
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 16 Aug 2005 15:19:27 +0000 (15:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 16 Aug 2005 15:19:27 +0000 (15:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1664 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/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"
 }