storj/cmd/bootstrap/entrypoint

11 lines
193 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
./bootstrap setup
fi
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
exec ./bootstrap run $RUN_PARAMS "$@"