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

graphql/entrypoint: Fix shell indent

parent 0d6b8fcf
No related branches found
No related tags found
No related merge requests found
......@@ -3,21 +3,20 @@
set -e
case "$1" in
"shell")
exec bash -i
;;
*)
echo Starting the swh-graphql 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.graphql.gunicorn_config' \
--worker-class 'uvicorn.workers.UvicornWorker' \
'swh.graphql.server:make_app_from_configfile()'
;;
"shell")
exec bash -i
;;
*)
echo Starting the swh-graphql 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.graphql.gunicorn_config' \
--worker-class 'uvicorn.workers.UvicornWorker' \
'swh.graphql.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