From 9896d87968fbbbd7179c8c4bca193ddd34226022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AD=E7=BF=BC=E7=BE=8A=E7=8E=8B?= <1993333339@qq.com> Date: Sun, 7 May 2023 09:17:18 +0000 Subject: [PATCH] update start.sh. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 六翼羊王 <1993333339@qq.com> --- start.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/start.sh b/start.sh index b799283..54dfe08 100644 --- a/start.sh +++ b/start.sh @@ -20,7 +20,6 @@ flask db migrate flask db upgrade flask admin init -# Start Flask application -echo "Starting Flask application..." -python3 app.py - +# Start gunicorn application +echo "Starting gunicorn application..." +exec gunicorn -c gunicorn.conf.py "applications:create_app()" \ No newline at end of file