diff --git a/templates/systemd/gunicorn.service.j2 b/templates/systemd/gunicorn.service.j2 index a5e7e27..b734562 100644 --- a/templates/systemd/gunicorn.service.j2 +++ b/templates/systemd/gunicorn.service.j2 @@ -9,7 +9,7 @@ User={{exec_user}} Group={{exec_group}} RuntimeDirectory=gunicorn WorkingDirectory={{source_location}} -ExecStart={{venv_location}}{{venv_name}}/bin/gunicorn --pid /run/gunicorn-{{name}}/pid \ +ExecStart={{venv_location}}{{venv_name}}/bin/gunicorn --workers=4 --pid /run/gunicorn-{{name}}/pid \ --bind unix:/run/gunicorn-{{name}}/socket run:app ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID