1
0
forked from crony/UpFast

Remove gunicorn startup script, not needed

This commit is contained in:
CronyAkatsuki 2023-03-26 09:58:33 +02:00
parent 7c0297c647
commit 3c69c7844b

View File

@ -1,23 +0,0 @@
#!/bin/bash
NAME=upfast
# USER=upfast
# GROUP=upfast
WORKERS=3
WORKER_CLASS=uvicorn.workers.UvicornWorker
VENV=venv/bin/activate
BIND=unix:/tmp/upfast.sock
LOG_LEVEL=error
source $VENV
exec gunicorn main:app \
--name $NAME \
--workers $WORKERS \
--worker-class $WORKER_CLASS \
--bind=$BIND \
--log-level=$LOG_LEVEL \
--log-file=- \
--forwarded-allow-ips='*'
# --user=$USER \
# --group=$GROUP \