Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1710

Resolve path name to nifi.sh in start script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Tools and Build
    • None

    Description

      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.

      Attachments

        Activity

          People

            trixpan Andre F de Miranda
            jfrazee Joey Frazee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: