smartgears-distribution/tomcat_files/startContainer.sh

16 lines
199 B
Bash

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