You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martin Skøtt (JIRA)" <ji...@apache.org> on 2015/02/26 23:29:04 UTC
[jira] [Created] (SOLR-7169) init.d status command has incorrect
return value
Martin Skøtt created SOLR-7169:
----------------------------------
Summary: init.d status command has incorrect return value
Key: SOLR-7169
URL: https://issues.apache.org/jira/browse/SOLR-7169
Project: Solr
Issue Type: Bug
Components: scripts and tools
Affects Versions: 5.0
Environment: Debian stable
Reporter: Martin Skøtt
{{/etc/init.d/solr status}} returns 0 if Solr is not running, but according to the LSB 0 means that the service is running (http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html).
In my situation this causes problems when managing the service with Puppet which uses the status command to determine if a service should be started.
--
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