You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ga...@apache.org on 2016/12/12 06:39:08 UTC

incubator-ranger git commit: RANGER-1241 : PID file generation improvement

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 36da4241c -> d3d03a10d


RANGER-1241 : PID file generation improvement

Signed-off-by: Gautam Borad <ga...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/d3d03a10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/d3d03a10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/d3d03a10

Branch: refs/heads/master
Commit: d3d03a10d6bf30857d50efdc6a6f8cc9fc829397
Parents: 36da424
Author: Mehul Parikh <me...@freestoneinfotech.com.com>
Authored: Mon Nov 21 15:39:06 2016 +0530
Committer: Gautam Borad <ga...@apache.org>
Committed: Mon Dec 12 12:08:30 2016 +0530

----------------------------------------------------------------------
 tagsync/scripts/ranger-tagsync-services.sh          | 2 +-
 unixauthservice/scripts/ranger-usersync-services.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/d3d03a10/tagsync/scripts/ranger-tagsync-services.sh
----------------------------------------------------------------------
diff --git a/tagsync/scripts/ranger-tagsync-services.sh b/tagsync/scripts/ranger-tagsync-services.sh
index 7f86e2f..3b90d11 100755
--- a/tagsync/scripts/ranger-tagsync-services.sh
+++ b/tagsync/scripts/ranger-tagsync-services.sh
@@ -34,7 +34,7 @@ for custom_env_script in `find ${cdir}/conf/ -name "ranger-tagsync-env*"`; do
 done
 
 if [ -z "${TAGSYNC_PID_DIR_PATH}" ]; then
-        pidf=/var/run/ranger
+        TAGSYNC_PID_DIR_PATH=/var/run/ranger
 fi
 pidf=${TAGSYNC_PID_DIR_PATH}/tagsync.pid
 if [ -z "${UNIX_TAGSYNC_USER}" ]; then

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/d3d03a10/unixauthservice/scripts/ranger-usersync-services.sh
----------------------------------------------------------------------
diff --git a/unixauthservice/scripts/ranger-usersync-services.sh b/unixauthservice/scripts/ranger-usersync-services.sh
index e5a676d..36eefcd 100644
--- a/unixauthservice/scripts/ranger-usersync-services.sh
+++ b/unixauthservice/scripts/ranger-usersync-services.sh
@@ -33,7 +33,7 @@ for custom_env_script in `find ${cdir}/conf/ -name "ranger-usersync-env*"`; do
         fi
 done
 if [ -z "${USERSYNC_PID_DIR_PATH}" ]; then
-        pidf=/var/run/ranger
+        USERSYNC_PID_DIR_PATH=/var/run/ranger
 fi
 pidf=${USERSYNC_PID_DIR_PATH}/usersync.pid
 if [ -z "${UNIX_USERSYNC_USER}" ]; then