From 21a8761f684745bb300e075c7e98ad897ace9eed Mon Sep 17 00:00:00 2001 From: st782s Date: Tue, 30 Jan 2018 17:29:36 -0500 Subject: Security/ Package Name changes Issue-ID: PORTAL-174, PORTAL-157, PORTAL-156, PORTAL-148, PORTAL-145, PORTAL-140, PORTAL-133, PORTAL-121, PORTAL-111, PORTAL-88 Includes security fixes, Role Centralization, replace certain ECOMP occurrences etc Change-Id: I3c8b706709c6b92e646e3cbe50c2d660e8a46ef4 Signed-off-by: st782s --- deliveries/start-apps-cmd.sh | 48 -------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100755 deliveries/start-apps-cmd.sh (limited to 'deliveries/start-apps-cmd.sh') diff --git a/deliveries/start-apps-cmd.sh b/deliveries/start-apps-cmd.sh deleted file mode 100755 index 7d3a8ada..00000000 --- a/deliveries/start-apps-cmd.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# Starts the Apache-Tomcat web container with the Portal, EPSDK and DMaaP BC web apps. -# If arguments "-i ip.2.3.4" AND "-n name" are present, adds an entry to /etc/hosts; -# this was added as a workaround for missing DNS in the CSIT environment. - -hostip="" -hostname="" -while [ $# -gt 0 ]; do - key="$1" - case $key in - -i|--ip) - hostip="$2" - shift # past argument - shift # past value - ;; - -n|--name) - hostname="$2" - shift # past argument - shift # past value - ;; - *) - echo "$0: ignoring argument $key" - shift - ;; - esac -done - -# Optionally add to /etc/hosts -if [ -z "${hostip}" -o -z "${hostname}" ]; then - echo "$0: Arguments for IP and name not found, continuing." -else - echo "$0: Using IP-name arguments $hostip $hostname" - grep $hostname /etc/hosts - ret_code=$? - if [ $ret_code != 0 ]; then - echo "$hostip $hostname" >> /etc/hosts - fi -fi - -BASE=/opt/apache-tomcat-8.0.37 -if [ ! -d $BASE ] ; then - echo "$0: $BASE not found or not a directory" - exit 1 -fi -echo "$0: Starting server from $BASE" -LOGFILE=${BASE}/logs/catalina.out -echo "`date`:<-------------------- Starting -------------------->" >> $LOGFILE -exec ${BASE}/bin/catalina.sh run 2>&1 | tee -a $LOGFILE -- cgit 1.2.3-korg