depot/nix/pkgs/baserow/backend/gunicorn.py

6 lines
238 B
Python

#!/usr/bin/python3
import sys
from gunicorn.app.wsgiapp import run
if __name__ == '__main__':
sys.argv[:] = [sys.argv[0]] + ["-k", "uvicorn.workers.UvicornWorker", "baserow.config.asgi:application"] + sys.argv[1:]
sys.exit(run())