changed to gunicorn

This commit is contained in:
2022-08-16 12:34:47 +03:00
parent 734bbd836e
commit ea7933793c
4 changed files with 24 additions and 26 deletions

View File

@@ -4,4 +4,4 @@
echo "starting the bot"
cd /opt/mosgortrans \
&& source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \
&& uvicorn app.main:create_app --host localhost --port 8084 --reload --factory
&& gunicorn app.main:create_app --bind localhost:8084 --reload --worker-class aiohttp.GunicornWebWorker