From 9680e291dce274a7afd66decec3ccd7e352f634d Mon Sep 17 00:00:00 2001 From: Dmitry Afanasyev Date: Tue, 16 Aug 2022 14:07:26 +0300 Subject: [PATCH] change app to core imports --- scripts/start-bot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start-bot.sh b/scripts/start-bot.sh index 80bd6b2..4f3a757 100644 --- a/scripts/start-bot.sh +++ b/scripts/start-bot.sh @@ -2,6 +2,6 @@ echo "starting the bot" -cd /opt/mosgortrans \ +cd /opt/mosgortrans/app \ && source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \ -&& gunicorn app.main:create_app --bind prod-server.lan:8084 --worker-class aiohttp.GunicornWebWorker \ No newline at end of file +&& gunicorn main:create_app --bind prod-server.lan:8084 --worker-class aiohttp.GunicornWebWorker \ No newline at end of file