ezbookkeeping/docker/docker-entrypoint.sh
2021-06-06 23:38:32 +08:00

15 lines
246 B
Bash
Executable file

#!/bin/sh
set -e;
conf_path_param="";
if [ "${EBK_CONF_PATH}" != "" ]; then
conf_path_param="--conf-path=${EBK_CONF_PATH}";
fi
if [ $# -gt 0 ]; then
exec "$@"
else
exec /ezbookkeeping/ezbookkeeping server run ${conf_path_param};
fi