#!/bin/bash

umask 002

#cartelle docfinance
mkdir -p /usr/local/tomcat/docfinance_in
mkdir -p /usr/local/tomcat/docfinance_out
chmod -R 775 /usr/local/tomcat/docfinance_in
chmod -R 775 /usr/local/tomcat/docfinance_out

# Run the main Tomcat process
exec "$@"