Skip to content

Commit

Permalink
Merge pull request #224 from FilippoLeone/patch-1
Browse files Browse the repository at this point in the history
Changed supervisor config file
  • Loading branch information
stevepiercy committed Apr 19, 2020
2 parents 549e53e + 466d0a4 commit 6dd2e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/deployment/asgi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ Example Supervisor configuration
[program:asgiapp]
directory=/path/to/app/
command=</path-to-virtualenv>bin/uvicorn app:app --bind unix:/tmp/uvicorn.sock --workers 2 --access-logfile /tmp/uvicorn-access.log --error-logfile /tmp/uvicorn-error.log
command=</path-to-virtualenv>/bin/uvicorn app:app --uds /tmp/uvicorn.sock --workers 2 --access-log --log-level error
user=<app-user>
autostart=true
autorestart=true
redirect_stderr=True
[supervisord]

0 comments on commit 6dd2e98

Please sign in to comment.