#!/usr/bin/env sh
set -e
# 首次启动时把镜像里的默认配置拷到挂载点
[ -z "$(ls -A /app/conf)" ] && cp -r /app/conf.default/* /app/conf/
exec "$@"