lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Potter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8267) Status exit code
Date Tue, 10 Nov 2015 14:50:11 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998684#comment-14998684
] 

Timothy Potter commented on SOLR-8267:
--------------------------------------

Thanks, will fix this up for 5.4


> Status exit code
> ----------------
>
>                 Key: SOLR-8267
>                 URL: https://issues.apache.org/jira/browse/SOLR-8267
>             Project: Solr
>          Issue Type: Task
>          Components: SolrCloud
>    Affects Versions: 5.2.1, 5.3
>         Environment: ALL
>            Reporter: Gauthier FRANCOIS
>            Assignee: Timothy Potter
>            Priority: Minor
>              Labels: easyfix
>
> When /etc/init.d/solr status is called and solr service is not running, the return exit
code is 0 instead 3.
> I made some modifications in the /opt/solr/bin/solr file to correct this issue:
>  - after line 446: add "exit 3"
>  - after line 466: add "exit 3"
> This issue appeared with an industrialisation configuration tool (puppet in my case)
which check if service is running.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message