[
https://issues.apache.org/jira/browse/AMQ-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204799#comment-14204799
]
Dejan Bosanac commented on AMQ-5378:
------------------------------------
I tried running this on OSX and I'm getting
{code}readlink: illegal option -- f
usage: readlink [-n] [file ...]
ERROR: "readlink -f $0" does not provide the real path to the binary on this
system, just define ACTIVEMQ_HOME manually in the config{code}
Additional question I have is, why the change of the PID file to just
activemq.pid, instead of one that uses the hostname?
> Initscript refactoring: setup function seems to be broken, removal of
> uneccessary files
> ---------------------------------------------------------------------------------------
>
> Key: AMQ-5378
> URL: https://issues.apache.org/jira/browse/AMQ-5378
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.10.0
> Environment: Linux/Unix
> Reporter: Marc Schöchlin
> Labels: assemblies
> Fix For: 5.11.0
>
>
> The current initscript seems to be broken.
> I submitted the current unix init script (see AMQ-2453) - the original script
> seems to be modified in a way which breaks the "setup" function
> If you call "./activemq setup ~/.activemq" you get a really messy configfile.
> The current distribution also contains lots of files of the java service
> wrapper which are not needed anymore.
> I created the following patch/pull request:
> https://github.com/apache/activemq/pull/46
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)