smartgears-distribution/startContainer.sh

14 lines
197 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 "$@"