ports/180839: activemq.hostname hostname variable in rc.d/activemq
Attila Nagy
bra at fsn.hu
Thu Jul 25 14:20:02 UTC 2013
>Number: 180839
>Category: ports
>Synopsis: activemq.hostname hostname variable in rc.d/activemq
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 25 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Attila Nagy
>Release:
>Organization:
>Environment:
>Description:
I use activemq in a netbooted environment, where each machine's configuration is the same.
This prevents -for example- running activemq in network of brokers setup, because each broker has to have a unique identifier.
To overcome this, I've patched the init script to include the machine's hostname, which can then be used for this -and other- purposes in the configuration file.
Could you please add this?
Thanks,
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: activemq
===================================================================
--- activemq (revision 26755)
+++ activemq (working copy)
@@ -53,6 +53,7 @@
-Dactivemq.conf=${activemq_conf} \
-Dactivemq.data=${activemq_data} \
-Dactivemq.home=${activemq_home} \
+ -Dactivemq.hostname=`hostname` \
-Dactivemq.base=${activemq_home}"
java_command="/usr/local/bin/java ${java_options} ${jar_file}"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list