GitHub user ShimiTaNaka opened a pull request:

    https://github.com/apache/lucene-solr/pull/215

    Fix the linux init script to return the proper exit status on the "st…

    Multiple systems (i.e puppet) use the "service status" command to check if 
the service is up or down based on the exit code of the command. When 
installing multi-instance solr, if 1 of the instances is up, the status on the 
second one still exits with 0 since the command scans the process list for ANY 
solr that is running.
    This fix preserves the output and yet exits with the right status code.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/myheritage/lucene-solr trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/215.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 #215
    
----
commit e393e001814961be5d23d73f01e555e74f0efa8f
Author: ShimiTaNaka <[email protected]>
Date:   2016-01-03T08:47:25Z

    Fix the linux init script to return the proper exit status on the "status" 
command

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to