#!/bin/bash set -e set -o pipefail mkdir -p /data/ecom/ds/logs /data/ecom/ad/inc_new /data/ecom/ad/inc /data/ecom/fsync tar -zxf /tmp/20210817.tgz -C /data/ecom/ad/ ln -s /data/ecom/ad/20210817 /data/ecom/ad/all rm -f /tmp/* touch /data/ecom/ad/inc_new//bid.event.0 chown -R ecom:ecom /app /data /data1 exec "$@"