diff --git a/tomcat_files/startContainer.sh b/tomcat_files/startContainer.sh new file mode 100644 index 0000000..318fc04 --- /dev/null +++ b/tomcat_files/startContainer.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +logs=/etc/logback.xml +container=/etc/container.ini +if [ -f "$logs" ]; then + cp $logs /tomcat/lib +fi + +if [ -f "$container" ]; then + cp $container /smartgears-distribution +fi + +exec "$@" + +