cmd/gateway: Fix entrypoint setup command

Fix the setup command of the entrypoint script used by the gateway
docker container.

Issue: https://github.com/storj/storj/issues/3748#issuecomment-574257152
Change-Id: I94c4d7aa148761645dd065f86b7d8e2d72bb727c
This commit is contained in:
Ivan Fraixedes 2020-01-14 17:30:55 +01:00 committed by Ivan Fraixedes
parent 64fb2d3d2f
commit f9b2af934b

View File

@ -2,7 +2,7 @@
set -euo pipefail set -euo pipefail
if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then if [[ ! -f "${CONF_PATH}/config.yaml" ]]; then
./gateway setup ./gateway setup --config-dir "${CONF_PATH}"
fi fi
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}" RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"