From 3fd3f2fc0fbebd4233364de76e215ee204fa4977 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Wed, 14 Aug 2024 14:03:03 +0200
Subject: [PATCH] web/entrypoint: Fix shell indent

---
 apps/swh-web/entrypoint.sh | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/apps/swh-web/entrypoint.sh b/apps/swh-web/entrypoint.sh
index 610b58d6e..98a0816a7 100755
--- a/apps/swh-web/entrypoint.sh
+++ b/apps/swh-web/entrypoint.sh
@@ -10,7 +10,7 @@ case "$1" in
         else
             "$@"
         fi
-    ;;
+        ;;
     "refresh")
         echo "Start periodic save code now refresh statuses routine (in background)"
         exec sh -c 'date && django-admin refresh_savecodenow_statuses \
@@ -22,18 +22,18 @@ case "$1" in
         date
         exec sh -c "django-admin sync_mailmaps --perform '$@'"
         ;;
-     *)
+    *)
         echo "Starting the swh-web server"
         # run gunicorn workers as in production otherwise
         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} \
-            --access-logfile '-' \
-            --env DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE} \
-            --config 'python:swh.web.gunicorn_config' \
-            'django.core.wsgi:get_wsgi_application()'
+             --log-level ${SWH_LOG_LEVEL:-INFO} \
+             --threads ${THREADS} \
+             --workers ${WORKERS} \
+             --timeout ${TIMEOUT} \
+             --statsd-host=${STATSD_HOST}:${STATSD_PORT} \
+             --statsd-prefix=${STATSD_SERVICE_TYPE} \
+             --access-logfile '-' \
+             --env DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE} \
+             --config 'python:swh.web.gunicorn_config' \
+             'django.core.wsgi:get_wsgi_application()'
 esac
-- 
GitLab