[
https://issues.apache.org/jira/browse/MINIFICPP-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525592#comment-16525592
]
Aldrin Piri commented on MINIFICPP-546:
---------------------------------------
Hey [~drodrigues] & [~phrocker],
yeah, the intent was that if this script was used for init purposes, we had
functionality that met the spec called out in the comments
(https://github.com/apache/nifi-minifi-cpp/blob/master/bin/minifi.sh#L218) -
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html.
With the benefit of hindsight, this could be a bit misguided for the generic
minifi.sh case but I believe it to be correct for the service case that is
embedded in the script. But don't have any strong issues with main case
changing to 0.
In terms of breaking, I believe we could note this as a migration point for
that release.
> minifi.sh status should return 0 when process isn't running
> -----------------------------------------------------------
>
> Key: MINIFICPP-546
> URL: https://issues.apache.org/jira/browse/MINIFICPP-546
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Dustin Rodrigues
> Assignee: Dustin Rodrigues
> Priority: Minor
>
> Currently, calling "minifi.sh status" when the process isn't running returns
> exit code 3. It should return 0.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)