Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Workaround
-
None
-
None
Description
Original bug report:
Installed the NiFi via HomeBrew on my Mac laptop with OS X (El Capital v 10.11.6) and ran the start / run commands, gave the expected result.
But when I say `nifi install` , I couldn't do so. It gave the following message.
`Installing Apache NiFi as a service is not supported on OS X or Cygwin.`
and I could see, that the nifi.sh *says the above message if it detected the OS as *Darwin (
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh#L59
)
and unfortunately the OS X is Darwin. But in the "Getting Started with Apache NiFi", it says installing nifi as a service is supported for OS X users. (Link -> https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#installing-as-a-service)
Given that we do have work arounds for this on OS X, I am going to update the documentation instead of writing an OS X-specific service handler.