mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
23 lines
524 B
ReStructuredText
23 lines
524 B
ReStructuredText
template: doc.html
|
|
title: FAQ
|
|
|
|
FAQ
|
|
===
|
|
|
|
How to reload my application in Gunicorn ?
|
|
You can gracefully reload by sending HUP signal to gunicorn::
|
|
|
|
$ kill -HUP masterpid
|
|
|
|
How to increase/decrease number of running workers ?
|
|
send TTIN/TTOUT signals to do it::
|
|
|
|
$ kill -TTIN masterpid
|
|
|
|
will increase the number from one worker
|
|
|
|
How to set SCRIPT_NAME ?
|
|
By default SCRIPT_name is an empy string. Value could be changed by passing
|
|
`SCRIPT_NAME` in environment (apache way) or as an HTTP header (nginx way).
|
|
|