Description
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.
Attachments
Issue Links
- duplicates
-
SOLR-7169 init.d status command has incorrect return value
- Closed