[
https://issues.apache.org/jira/browse/APLO-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603354#comment-13603354
]
Vaggelis Atlidakis commented on APLO-305:
-----------------------------------------
Hi Hiram,
Are you sure that you added this line? I install the
"mig-apollo-1.6-0.20130307.165856.208.el6.noarch.rpm" version of and it is not
there.
The script under /etc/init.d/ is actually a soft link to the base script of the
broker under "${APOLLO_BASE}/bin/apollo-broker-service. Any call to chkconfig
will check if the aforementioned script complies with SysV, and will fail if
this line is missing. Both of them are created when I create a new broker.
I think that the script "/usr/share/apollo/bin/apollo" exports them, so maybe
you should specify through this the extra line in need, i.e., "#chkconfig: 2345
55 25"
thanks,
--
aV
> Wrong exist status codes in the init scripts!
> ---------------------------------------------
>
> Key: APLO-305
> URL: https://issues.apache.org/jira/browse/APLO-305
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Components: apollo-cli, apollo-distro
> Affects Versions: 1.6
> Reporter: Vaggelis Atlidakis
> Assignee: Hiram Chirino
> Fix For: 1.7
>
>
> Hello,
> I would like to report that the init.d scripts for the apollo broker returns
> incorrect exit codes.
> # service apollo-mcollect-broker status; echo $?
> apollo-mcollect-broker is running (23403)
> 0
> According to:
> http://fedoraproject.org/wiki/Packaging:SysVInitScript#Required_Actions
> the return code when the service is not running should be: 3
> Best Regards,
> --
> aV
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira