ecerulm commented on pull request #4465:
URL: https://github.com/apache/nifi/pull/4465#issuecomment-683601046
I believe that maybe we should follow the same conventions as `service`
* start: 0 only if nifi is started or already running.
* stop: 0 if nifi is stopped at the end of the command. So still 0 if nifi
was not running on the first place.
* run: exit code returned by `org.apache.nifi.NiFi`
* restart: 0 if nifi is started or already running.
* status: 0 only if nifi is running.
* dump: non-zero exit code if nifi was not running
* diagnostics: non-zero exit code if nifi was not running, tools.jar /
classes.jar not found etc
* install:
* stateless
But that will require some changes to `org.apache.nifi.bootstrap.RunNiFi`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]