summaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/main/resources/scripts/install.sh
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-05-10 14:16:02 +0100
committerMichael Morris <michael.morris@est.tech>2023-05-16 15:09:28 +0000
commite93787b414c6af91cf4c509edef2aec3d2187de2 (patch)
tree7e63873f19b307f12f2124e37c844b48379296d7 /catalog-fe/src/main/resources/scripts/install.sh
parent8183ade590e367f28e13484201d2c9526be221dc (diff)
Remove unused jetty scripts
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic5cf47f6df292cad5b35c854c5c8f210cc1f575d Issue-ID: SDC-4483
Diffstat (limited to 'catalog-fe/src/main/resources/scripts/install.sh')
-rw-r--r--catalog-fe/src/main/resources/scripts/install.sh57
1 files changed, 0 insertions, 57 deletions
diff --git a/catalog-fe/src/main/resources/scripts/install.sh b/catalog-fe/src/main/resources/scripts/install.sh
deleted file mode 100644
index 48f9a36001..0000000000
--- a/catalog-fe/src/main/resources/scripts/install.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-export JETTY_BASE=/home/jetty/base
-
-COMP=$1
-
-function usage() {
- echo "$0 <fe | be>"
-}
-
-function exitOnError() {
- if [ $1 -ne 0 ]
- then
- echo "Failed running task $2"
- exit 2
- fi
-}
-
-if [ $# -ne 1 ]
-then
- usage
- exit 1
-
-fi
-
-/opt/app/sdc/catalog-${COMP}/scripts/installJettyBase.sh
-exitOnError $? "installJettyBase"
-
-cd ${JETTY_BASE}
-exitOnError $? "move_to_base_dir"
-
-mkdir -p scripts
-
-cp /opt/app/sdc/catalog-${COMP}/scripts/* scripts
-exitOnError $? "copy_scripts_from_rpm"
-
-cp /opt/app/sdc/catalog-${COMP}/ext/jetty-ipaccess.xml etc
-exitOnError $? "override_jetty-ipaccess_module."
-
-cp /opt/app/sdc/catalog-${COMP}/catalog-${COMP}-*.war webapps
-exitOnError $? "copy_war"
-
-cp /opt/app/sdc/catalog-${COMP}/scripts/startJetty.sh .
-exitOnError $? "copy_startJetty"
-
-cp /opt/app/sdc/catalog-${COMP}/scripts/jvm.properties .
-exitOnError $? "copy_jvm_properties"
-
-./scripts/updateSslParams.sh ${JETTY_BASE}
-exitOnError $? "updateSslParams_script"
-
-mkdir -p ${JETTY_BASE}/config/catalog-${COMP}
-cp -r /opt/app/sdc/config/catalog-${COMP}/*.xml ${JETTY_BASE}/config/catalog-${COMP}
-exitOnError $? "copy_xml_files_to_config"
-
-cp -r /opt/app/sdc/config/catalog-${COMP}/*.yaml ${JETTY_BASE}/config/catalog-${COMP}
-exitOnError $? "copy_yaml_files_to_config"