#!/bin/bash set -e set -o pipefail mkdir -p /data/project ls -l /data/project rm -rf /data/project/* mv /tmp/ads.war /data/project/ads.war exec "$@"