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

ASF GitHub Bot commented on NIFI-1710:
--------------------------------------

Github user busbey commented on the pull request:

    https://github.com/apache/nifi/pull/315#issuecomment-204066394
  
    Please do not attempt to use python as a substitute for OS shell scripts. 
It's a path to ruin, the mechanics of properly managing things on Bash-having 
systems and Windows are fundamentally different (until we can just switch to 
bash-only for windows 10).


> 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
(v6.3.4#6332)

Reply via email to