ASF GitHub Bot commented on NIFI-1710:

Github user trixpan commented on the issue:

    Yet, as discussed in the original stackoverflow thread, the shell approach 
is greatly portable and eliminate the need to have any of the external utils. 
    At least we didn't end up uaing python. :-) 
    Would appreciate if you could confirm it works with you as well. 

> Resolve path name to nifi.sh in start script
> --------------------------------------------
>                 Key: NIFI-1710
>                 URL: https://issues.apache.org/jira/browse/NIFI-1710
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joey Frazee
>            Priority: Trivial
> Currently if you symlink to nifi.sh the start script will not work because $0 
> doesn't evaluate to the physical location and the script assumes 
> bootstrap.conf is relative to the script.
> This means you can't, for example, symlink nifi.sh to /etc/init.d and use the 
> respective service commands to control NiFi.
> Adding realpath or readlink to the script should fix this.

This message was sent by Atlassian JIRA

Reply via email to