Controlling nginx
Controlling nginx
nginx can be controlled with signals. The process ID of the master process is written to the file /usr/local/nginx/logs/nginx.pid
by default. This name may be changed at configuration time, or in nginx.conf
using the pid directive. The master process supports the following signals:
TERM, INT | fast shutdown |
QUIT | graceful shutdown |
HUP | changing configuration, keeping up with a changed time zone (only for FreeBSD and Linux), starting new worker processes with a new configuration, graceful shutdown of old worker processes |
登录查看完整内容
|