redhat init script can report success (exit 0) for startup failures
-------------------------------------------------------------------

                 Key: CASSANDRA-3189
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3189
             Project: Cassandra
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 0.8.5
            Reporter: Eric Evans
            Priority: Minor
             Fix For: 1.0.0


The Redhat init script's start target merely returns the status code of the 
JVM.  In a perfect world that would be adequate, but the JVM does not always 
return a non-zero status when it should.

The most obvious fix is to test that the process is live before exiting. See 
the Debian init script for an example of this.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to