Gregor Zurowski created AMQ-5977:
------------------------------------

             Summary: 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)

Reply via email to