daphne asgi supervisor conf

Linux December 15, 2019 python

daphne asgi supervisor conf

python
[program:project_asgi_daphne]

directory=/path/to/project/project

command=/path/to/project/env/bin/daphne -u  /path/to/project_asgi.sock project.asgi:application

stdout_logfile=/path/to/daphne.log

stderr_logfile=/path/to/daphne_stderr.log

autostart=true

autorestart=true

redirect_stderr=true