How to configure ExecStart for Gunicorn without WSGI?
Systemd and Gunicorn require a wsgi file of some sort as the last arg to ExecStart : http://docs.gunicorn.org/en/latest/deploy.html?highlight=ExecStart#systemd With Django, this was in the main module as wsgi.py : ExecStart=/home/admin/django/bin/gunicorn --config /home/admin/src/gunicorn.py --bind unix:/tmp/api.sock myapp.wsgi But this file obviously doesn't exist when using Sanic and uvloop (I believe the new protocol is called ASGI). I tried substituting it for app.py which unsurprisingly didn't work: ExecStart=/home/admin/sanic/bin/gunicorn --config /home/admin/src/gunicorn.py --bind unix: