[pkg-jboss-commits] cvs commit to jboss3/debian by agx

pkg-jboss-commits@lists.alioth.debian.org pkg-jboss-commits@lists.alioth.debian.org
Wed, 09 Jun 2004 02:36:08 -0600


Update of /cvsroot/pkg-jboss/jboss3/debian
In directory haydn:/tmp/cvs-serv14879

Modified Files:
	jboss3.default jboss3.init 
Log Message:
make setting of JAVA_OPTS easier

Index: jboss3.default
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3.default,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- jboss3.default	24 May 2004 15:19:19 -0000	1.2
+++ jboss3.default	9 Jun 2004 08:36:06 -0000	1.3
@@ -8,9 +8,13 @@
 # The home directory of the Java development kit (JDK).
 #JAVA_HOME=/usr/lib/j2sdk1.4
 
+# Default options for the JVM
+#JAVA_OPTS=-Xmx64M
+
 # Configuration layout to use
 #JBOSS_SERVER=debian
 
 # Timeout in seconds for the shutdown procedure (default: 30). The Java
 # processes will be killed if tomcat4 has not stopped until then.
 #JBOSS_SHUTDOWN=30
+

Index: jboss3.init
===================================================================
RCS file: /cvsroot/pkg-jboss/jboss3/debian/jboss3.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- jboss3.init	24 May 2004 15:19:19 -0000	1.4
+++ jboss3.init	9 Jun 2004 08:36:06 -0000	1.5
@@ -55,6 +55,8 @@
 done
 export JAVA_HOME
 
+[ ! -z "$JAVA_OPTS" ] && export $JAVA_OPTS
+
 [ -n "$JBOSS_SERVER" ] && STARTUP_OPTS="-c $JBOSS_SERVER"
 
 JBOSS_START="$JBOSS_HOME/bin/run.sh"