From 35edd21037a069774f0b9f8834f9f87fd232973a Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Wed, 12 Dec 2012 00:16:21 +0000 Subject: - move to jdk7, and support configurable virtual machine arguments - while here trim historical header PR: 174347 Submitted by: maintainer, hsn@sendmail.cz --- net/hornetq/files/hornetq.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/hornetq/files') diff --git a/net/hornetq/files/hornetq.in b/net/hornetq/files/hornetq.in index 5682b3f4dd9d..1da1d8ef9a99 100644 --- a/net/hornetq/files/hornetq.in +++ b/net/hornetq/files/hornetq.in @@ -38,6 +38,7 @@ load_rc_config $name hornetq_enable=${hornetq_enable:-"NO"} hornetq_config=${hornetq_config:-"non-clustered"} +hornetq_vmargs=${hornetq_vmargs:-""} hornetq_deployment=${hornetq_deployment:-"hornetq-beans.xml"} hornetq_data=${hornetq_data:-"/var/spool/hornetq"} @@ -54,7 +55,8 @@ export PATH=$PATH:%%LOCALBASE%%/bin export HORNETQ_HOME=%%DATADIR%% export CLUSTER_PROPS=-Ddata.dir=${hornetq_data} export JAVA_VENDOR=openjdk -export JAVA_VERSION=1.6 +export JAVA_VERSION=1.7 +export CLUSTER_PROPS="${hornetq_vmargs}" hornetq_prestop() { $HORNETQ_HOME/bin/stop.sh %%DATADIR%%/config/stand-alone/${hornetq_config} -- cgit v1.2.3