Github user apiri commented on the issue:
https://github.com/apache/nifi/pull/553
Reviewed this and tested with CentOS 7 and Debian jessie Docker images.
This works as anticipated, but I have some concerns over duplicating the
nifi-env.sh to colocate with the nifi.sh service after being installed. After
installing the service, nifi-env.sh as part of the installation no longer has
any effect on the application. In this case, if someone makes updates to the
"bundled" nifi-env, they will not register.
I think we need to constrain this to just one file or at least include the
configuration with the default copy provided.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---