change app to core imports

This commit is contained in:
Dmitry Afanasyev 2022-08-16 14:07:26 +03:00
parent e0ee4eade7
commit 9680e291dc

View File

@ -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
&& gunicorn main:create_app --bind prod-server.lan:8084 --worker-class aiohttp.GunicornWebWorker