diff --git a/apps/swh-vault/entrypoint.sh b/apps/swh-vault/entrypoint.sh index e72a3377d3651646c06c8fcaae468df0847b2814..1835e6e54755e6cc0221d4b187b445f770f03363 100644 --- a/apps/swh-vault/entrypoint.sh +++ b/apps/swh-vault/entrypoint.sh @@ -4,23 +4,23 @@ set -e case "$1" in "shell") - exec bash -i - ;; + exec bash -i + ;; "swh") shift echo "Running swh command $@" exec swh $@ ;; *) - echo Starting the swh-vault API server - exec gunicorn --bind 0.0.0.0:${PORT} \ - --log-level ${SWH_LOG_LEVEL:-INFO} \ - --threads ${THREADS} \ - --workers ${WORKERS} \ - --timeout ${TIMEOUT} \ - --statsd-host=${STATSD_HOST}:${STATSD_PORT} \ - --statsd-prefix=${STATSD_SERVICE_TYPE} \ - --config 'python:swh.core.api.gunicorn_config' \ - 'swh.vault.api.server:make_app_from_configfile()' - ;; + echo Starting the swh-vault API server + exec gunicorn --bind 0.0.0.0:${PORT} \ + --log-level ${SWH_LOG_LEVEL:-INFO} \ + --threads ${THREADS} \ + --workers ${WORKERS} \ + --timeout ${TIMEOUT} \ + --statsd-host=${STATSD_HOST}:${STATSD_PORT} \ + --statsd-prefix=${STATSD_SERVICE_TYPE} \ + --config 'python:swh.core.api.gunicorn_config' \ + 'swh.vault.api.server:make_app_from_configfile()' + ;; esac