Skip to content
Snippets Groups Projects
Verified Commit ab1d384d authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

vault/entrypoint: Indent shell

parent 0715cf5a
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment