svn commit: r618581 - /ofbiz/trunk/startofbiz.sh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r618581 - /ofbiz/trunk/startofbiz.sh

hansbak-2
Author: hansbak
Date: Tue Feb  5 01:10:23 2008
New Revision: 618581

URL: http://svn.apache.org/viewvc?rev=618581&view=rev
Log:
obtain IP address for RMI from OS so you can use DHCP

Modified:
    ofbiz/trunk/startofbiz.sh

Modified: ofbiz/trunk/startofbiz.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=618581&r1=618580&r2=618581&view=diff
==============================================================================
--- ofbiz/trunk/startofbiz.sh (original)
+++ ofbiz/trunk/startofbiz.sh Tue Feb  5 01:10:23 2008
@@ -31,7 +31,9 @@
 # VM args
 ADMIN="-Dofbiz.admin.port=$ADMIN_PORT -Dofbiz.admin.key=$ADMIN_KEY"
 #DEBUG="-Dsun.rmi.server.exceptionTrace=true"
-#RMIIF="-Djava.rmi.server.hostname=<set your IP address here>"
+#automatic IP address for linux
+#IPADDR=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
+#RMIIF="-Djava.rmi.server.hostname=$IPADDR"
 MEMIF="-Xms128M -Xmx256M"
 LANGUAGE="-Duser.language=en"
 VMARGS="$MEMIF $DEBUG $RMIIF $ADMIN $LANGUAGE"