FWIW, I "fixed" this on my system with a different workaround:
1. Don't use the "install" option.
2. Symlink /etc/init.d/nifi to /opt/nifi/current/bin/nifi.sh
3. Edit the script to use readlink and find the actual install directory:
SCRIPT_DIR=$(dirname $(readlink $0 || echo $0))
Thanks for reporting this, Ryan, I see the same behavior. I created a JIRA
for this issue (https://issues.apache.org/jira/browse/NIFI-2063). If you
need a workaround, you can edit /etc/init.d/nifi to hard-code the path to
the script directory:
SCRIPT_DIR=/opt/nifi/current/bin