Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF9FE18A78 for ; Tue, 10 Nov 2015 14:50:12 +0000 (UTC) Received: (qmail 4830 invoked by uid 500); 10 Nov 2015 14:50:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 4538 invoked by uid 500); 10 Nov 2015 14:50:11 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 4431 invoked by uid 99); 10 Nov 2015 14:50:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 14:50:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 04BA72C1F58 for ; Tue, 10 Nov 2015 14:50:11 +0000 (UTC) Date: Tue, 10 Nov 2015 14:50:11 +0000 (UTC) From: "Timothy Potter (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-8267) Status exit code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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