[RTFACT-5022] Artifactory init script update Created: 22/Jun/12  Updated: 09/Jul/12  Resolved: 09/Jul/12

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Configuration
Affects Version/s: 2.6.1
Fix Version/s: 2.6.2

Type: Improvement Priority: Normal
Reporter: Dimitar Sakarov Assignee: Shay Yaakov (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:


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:

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):

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

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

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

Generated at Tue Aug 11 17:01:57 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.