[
https://issues.apache.org/jira/browse/AMQ-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907664#comment-14907664
]
ASF subversion and git services commented on AMQ-5977:
------------------------------------------------------
Commit b7a57876102911a2a5cc406e3f85f80b28e9e16c in activemq's branch
refs/heads/master from [~gzurowski]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=b7a5787 ]
AMQ-5977: Add LSB headers to init 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)