Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1218

fuseki init script problems - log_daemon_msg doesn't work in subshell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Fuseki 2.3.1
    • Fuseki 2.4.1
    • Fuseki
    • None
    • RHEL 6.x

    Description

      Another init script problem.

      When you start a subshell, with the intent of exec'ing java, you try to use the log_daemon_msg shell function that you defined at the beginning of the script.

      That function doesn't exist in the subshell, so the command fails.

      I'm not sure why the subshell in the first place, but if you have to have it you need to define any functions in it. I hacked it to just say "echo," which works for me.

      Attachments

        Activity

          People

            andy Andy Seaborne
            danpritts Dan Pritts
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: