Repository: incubator-ranger
Updated Branches:
  refs/heads/master 4f3cea223 -> d9edf2fc1


RANGER-247: added ranger-kms.initd as part of the tar bundle and renamed as 
ranger-kms-initd


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

Branch: refs/heads/master
Commit: 00a24fc6fb8912dfaee5958223c4cea454e57893
Parents: 94bf590
Author: sneethiraj <[email protected]>
Authored: Wed Apr 22 14:22:20 2015 -0400
Committer: sneethiraj <[email protected]>
Committed: Wed Apr 22 14:51:43 2015 -0400

----------------------------------------------------------------------
 kms/config/webserver/kms_webserver.properties | 4 ++--
 kms/scripts/setup.sh                          | 2 +-
 src/main/assembly/kms.xml                     | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/00a24fc6/kms/config/webserver/kms_webserver.properties
----------------------------------------------------------------------
diff --git a/kms/config/webserver/kms_webserver.properties 
b/kms/config/webserver/kms_webserver.properties
index 1d227cf..0051dcd 100644
--- a/kms/config/webserver/kms_webserver.properties
+++ b/kms/config/webserver/kms_webserver.properties
@@ -20,7 +20,7 @@ service.host=localhost
 http.service.port=9292
 service.shutdownPort=7085
 service.shutdownCommand=SHUTDOWN
-service.waitTimeForForceShutdownInSeconds=120
+service.waitTimeForForceShutdownInSeconds=0
 
 #
 # SSL Connector Information
@@ -62,4 +62,4 @@ JAVA_VERSION_REQUIRED="1.7"
 # Log file path
 #
 LOGFILE=${RANGER_KMS_DIR}/logfile
-LOGFILES="$LOGFILE"
\ No newline at end of file
+LOGFILES="$LOGFILE"

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/00a24fc6/kms/scripts/setup.sh
----------------------------------------------------------------------
diff --git a/kms/scripts/setup.sh b/kms/scripts/setup.sh
index 295a71d..7d98a25 100644
--- a/kms/scripts/setup.sh
+++ b/kms/scripts/setup.sh
@@ -462,7 +462,7 @@ setup_install_files(){
 
        if [ -d /etc/init.d ]; then
            log "[I] Setting up init.d"
-           cp ${INSTALL_DIR}/${RANGER_KMS}.initd /etc/init.d/${RANGER_KMS}
+           cp ${INSTALL_DIR}/${RANGER_KMS}-initd /etc/init.d/${RANGER_KMS}
 
            chmod ug+rx /etc/init.d/${RANGER_KMS}
 

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/00a24fc6/src/main/assembly/kms.xml
----------------------------------------------------------------------
diff --git a/src/main/assembly/kms.xml b/src/main/assembly/kms.xml
index 28b0a27..6882d1b 100644
--- a/src/main/assembly/kms.xml
+++ b/src/main/assembly/kms.xml
@@ -292,8 +292,8 @@
       <include>dba_script.py</include>
                        <include>db_setup.py</include>
                        <include>update_property.py</include>
+                       <include>ranger-kms-initd</include>
                        <include>ranger-kms</include>
-                       <include>ranger-kms-services.sh</include>
                        <include>setup.sh</include>
       <include>install.properties</include>
                        <include>migrate-keystore-dbks.sh</include>

Reply via email to