Skip to content

Commit

Permalink
feat: move gunicorn worker config in file (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 29, 2023
1 parent c26161d commit 1920e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/systemd/libretime-api.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Type=notify
KillMode=mixed
ExecStart={{ libretime_venv_dir }}/bin/gunicorn \
--workers 4 \
--worker-class uvicorn.workers.UvicornWorker \
--worker-class libretime_api.gunicorn.Worker \
--log-file - \
--bind unix:/run/libretime-api.sock \
libretime_api.asgi
Expand Down

0 comments on commit 1920e9a

Please sign in to comment.