[ https://issues.apache.org/jira/browse/NIFI-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982701#comment-16982701 ]
Sushil Kumar commented on NIFI-4913: ------------------------------------ I like the idea of using a configuration bootstrap.conf more than adding a flag on the cli. I would try to update the same. Thanks > Specifying "run.as" in bootstrap.properties causes environment variables to > not be passed to NiFi > ------------------------------------------------------------------------------------------------- > > Key: NIFI-4913 > URL: https://issues.apache.org/jira/browse/NIFI-4913 > Project: Apache NiFi > Issue Type: Bug > Components: Configuration > Affects Versions: 1.5.0 > Reporter: Jonathan Peterson > Priority: Minor > Labels: beginner > Time Spent: 20m > Remaining Estimate: 0h > > I solved this by including "-E" after "sudo" in nifi.sh [1]. > [1] > [https://github.com/apache/nifi/blob/rel/nifi-1.5.0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh#L312] > -- This message was sent by Atlassian Jira (v8.3.4#803005)