storj/cmd/bootstrap/entrypoint

11 lines
193 B
Plaintext
Raw Normal View History

#!/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 "$@"