[ 
https://issues.apache.org/jira/browse/NIFI-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342681#comment-17342681
 ] 

ASF subversion and git services commented on NIFI-4913:
-------------------------------------------------------

Commit 48a9054731c2246be913e1e191b93e082f7ec0f8 in nifi's branch 
refs/heads/main from Sushil Kumar
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=48a9054 ]

NIFI-4913 - Added "-E" with sudo to read environment variables set in current 
shell environment while running nifi with bootstrap property "run.as" set as to 
some user

NIFI-4913 - Updated administration-guide.adoc

Signed-off-by: Nathan Gough <thena...@gmail.com>

This closes #3750.


> 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
>            Assignee: Sushil Kumar
>            Priority: Minor
>              Labels: beginner
>          Time Spent: 1h 50m
>  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)

Reply via email to