add worker process chainetv
This commit is contained in:
parent
594909f745
commit
1ea36d66eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user