@@ -1,14 +1,5 @@
#!/usr/bin/env bash
-#if [ ! -z "${APPNET}" ]; then
-# echo "Initial nslookup ${HOSTNAME}.${APPNET}"
-# nslookup ${HOSTNAME}.${APPNET}
-# while [ $? -ne 0 ]; do
-# echo "Waiting for ${HOSTNAME}.${APPNET} to become available"
-# sleep 1
-# done
-#fi
sed -i 's/ >> "$CATALINA_OUT" 2>\&1 "\&"/ "\&"/' /opt/tomcat8/bin/catalina.sh
sed -i 's/touch "$CATALINA_OUT"/#touch "$CATALINA_OUT"/' /opt/tomcat8/bin/catalina.sh
#sed -i 's/.handlers = 1catalina.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler/.handlers = java.util.logging.ConsoleHandler/' /opt/tomcat8/conf/logging.properties
@@ -1,10 +1,3 @@
#!/bin/bash
-#containerstart=`stat -c %Z /proc/1`
-#curtime=`date +%s`
-#if (( curtime-containerstart < 180 )); then
-# echo "0"
-# exit 0
-
curl -f 127.0.0.1:8080/login || exit 1