GitHub user fidget83 opened a pull request:
https://github.com/apache/nifi/pull/1198
[NIFI-3015] Run NiFi service from nifi user instead of root
When install NiFi using command nifi.sh install, NiFi will start from user
root.
I suggest to run it from user nifi which is created during rpm installation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fidget83/nifi master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1198.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1198
----
commit 2789f56c07808458b9862ad626abee308349fe7f
Author: Artem Ermakov <[email protected]>
Date: 2016-09-22T15:15:21Z
[NIFI-2812] Fix creating NiFi RPM
commit 897e5ba2303ca2e05553b0df78c215d53929a968
Author: Artem Ermakov <[email protected]>
Date: 2016-11-03T06:53:11Z
Run NiFi service by nifi system user
commit 23d4928c650c40af32b91eed009e08181b8a418c
Author: Artem Ermakov <[email protected]>
Date: 2016-11-03T07:07:30Z
Merge remote-tracking branch 'upstream/master'
----
---
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.
---