From cebc9e619946eb702a3dbc8f68955d6fee5d8db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Thu, 30 May 2024 13:09:27 +0100 Subject: [PATCH] chore: Remove temporary .flask_secret file when the web UI is being shut down --- src/ui/gunicorn.conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/gunicorn.conf.py b/src/ui/gunicorn.conf.py index 8f53f7a83..f14ea0d45 100644 --- a/src/ui/gunicorn.conf.py +++ b/src/ui/gunicorn.conf.py @@ -134,3 +134,4 @@ def when_ready(server): def on_exit(server): RUN_DIR.joinpath("ui.pid").unlink(missing_ok=True) TMP_DIR.joinpath("ui.healthy").unlink(missing_ok=True) + TMP_DIR.joinpath(".flask_secret").unlink(missing_ok=True)