Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)
configfile="/etc/puppi/puppi.conf"
# Load general configurations
if [ ! -f $configfile ] ; then
echo "Config file: $configfile not found"
exit 2
else
. $configfile
. $scriptsdir/functions
fi
# Load project runtime configuration
projectconfigfile="$workdir/$project/config"
if [ ! -f $projectconfigfile ] ; then
echo "Project runtime config file: $projectconfigfile not found"
exit 2
else
. $projectconfigfile
fi
# Activate debug
case "$debug" in
yes) set -x ;;
full) set -xv ;;
esac