Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-5022

Artifactory init script update

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: Configuration
    • Labels:
      None

      Description

      There is a minor update I would like to suggest in order to resolve an issue when using a custom ARTIFACTORY_PID.

      The affected file is:
      http://subversion.jfrog.org/artifactory/public/trunk/distribution/standalone/src/main/install/bin/artifactoryctl

      The problem is a hardcoded pid filename, even when the ARTIFACTORY_PID is set.

      Below is a patch file content that fixes this issue (i couldn't figure out how to attach it as file):

      603c603
      < if [ -f $ARTIFACTORY_RUN/artifactory.pid ]

      > if [ -f $ARTIFACTORY_PID ]
      605c605
      < echo "Artifactory is running, on pid="`cat $ARTIFACTORY_RUN/artifactory.pid`

      > echo "Artifactory is running, on pid="`cat $ARTIFACTORY_PID`

        Attachments

          Activity

            People

            Assignee:
            shayy Shay Yaakov (Inactive)
            Reporter:
            dimitar.sakarov Dimitar Sakarov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: