#!/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 "$@"