core to app again

This commit is contained in:
2022-08-16 14:45:44 +03:00
parent 94224f4401
commit d635ea768d
5 changed files with 19 additions and 15 deletions

View File

@@ -2,6 +2,6 @@
echo "starting the bot"
cd /opt/mosgortrans/app \
cd /opt/mosgortrans \
&& source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \
&& gunicorn main:create_app --bind prod-server.lan:8084 --worker-class aiohttp.GunicornWebWorker
&& gunicorn app.main:create_app --bind prod-server.lan:8084 --worker-class aiohttp.GunicornWebWorker