Skip to content

Commit

Permalink
RANGER-3978: Docker setup for Ranger KMS - fix to enable restart of c…
Browse files Browse the repository at this point in the history
…ontainer - #2

(cherry picked from commit 7bfc0ad)
  • Loading branch information
mneethiraj committed Dec 1, 2022
1 parent 28f3c09 commit ddb4666
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-support/ranger-docker/scripts/ranger-kms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ then
fi
fi

# delete PID file if exists
rm -f /var/run/ranger_kms/rangerkms.pid

cd ${RANGER_HOME}/kms && ./ranger-kms-services.sh start

RANGER_KMS_PID=`ps -ef | grep -v grep | grep "Dproc_rangerkms" | awk '{print $2}'`
Expand Down

0 comments on commit ddb4666

Please sign in to comment.