[
https://issues.apache.org/jira/browse/AMQ-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902985#comment-14902985
]
ASF GitHub Bot commented on AMQ-5977:
-------------------------------------
GitHub user gzurowski opened a pull request:
https://github.com/apache/activemq/pull/145
AMQ-5977: Add LSB headers to ínit script
Add LSB headers to init script to fix problems when setting up ActiveMQ
as a daemon with chkconfig on RHEL and clones.
Signed-off-by: Gregor Zurowski <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gzurowski/activemq init-lsb
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/145.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #145
----
commit 8e70075a2d5ba2379fd0d46ed0f5fa56de2baad5
Author: Gregor Zurowski <[email protected]>
Date: 2015-09-22T16:58:50Z
AMQ-5977: Add LSB headers to ínit script
Add LSB headers to init script to fix problems when setting up ActiveMQ
as a daemon with chkconfig on RHEL and clones.
Signed-off-by: Gregor Zurowski <[email protected]>
----
> Init script should provide LSB headers
> --------------------------------------
>
> Key: AMQ-5977
> URL: https://issues.apache.org/jira/browse/AMQ-5977
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.12.0
> Reporter: Gregor Zurowski
> Priority: Minor
>
> The current init script 'bin/activemq'
> (https://github.com/apache/activemq/blob/master/assembly/src/release/bin/activemq)
> does not provide any LSB headers. Because of this, setting up the service
> using chkconfig on RHEL and clones as described in the documentation (see
> http://activemq.apache.org/unix-shell-script.html) fails with the following
> error message:
> {code}
> $ chkconfig --add activemq
> service activemq does not support chkconfig
> {code}
> Ubuntu systems will print the following warning:
> {code}
> $ update-rc.d activemq defaults
> update-rc.d: warning: /etc/init.d/activemq missing LSB information
> update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
> Adding system startup for /etc/init.d/activemq ...
> [...]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)