adding docker scripts
[portal.git] / deliveries / configure-and-run.sh
diff --git a/deliveries/configure-and-run.sh b/deliveries/configure-and-run.sh
new file mode 100644 (file)
index 0000000..cb51576
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+LOGFILE=/opt/apache-tomcat-8.0.37/logs/catalina.out
+echo "`date`:<--------------------    Starting     -------------------->" >> $LOGFILE
+exec /opt/apache-tomcat-8.0.37/bin/catalina.sh run  2>&1 | tee -a $LOGFILE
\ No newline at end of file