You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2015/11/10 15:50:11 UTC
[jira] [Commented] (SOLR-8267) Status exit code
[ 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