mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +08:00
Update doc
This commit is contained in:
@@ -49,6 +49,9 @@ SIGQUIT
|
|||||||
accepting connection. After all connections are handled, nghttpx
|
accepting connection. After all connections are handled, nghttpx
|
||||||
exits.
|
exits.
|
||||||
|
|
||||||
|
SIGHUP
|
||||||
|
Reload configuration file given in :option:`--conf`.
|
||||||
|
|
||||||
SIGUSR1
|
SIGUSR1
|
||||||
Reopen log files.
|
Reopen log files.
|
||||||
|
|
||||||
@@ -56,7 +59,11 @@ SIGUSR2
|
|||||||
Fork and execute nghttpx. It will execute the binary in the same
|
Fork and execute nghttpx. It will execute the binary in the same
|
||||||
path with same command-line arguments and environment variables.
|
path with same command-line arguments and environment variables.
|
||||||
After new process comes up, sending SIGQUIT to the original process
|
After new process comes up, sending SIGQUIT to the original process
|
||||||
to perform hot swapping.
|
to perform hot swapping. The difference between SIGUSR2 + SIGQUIT
|
||||||
|
and SIGHUP is that former is usually used to execute new binary, and
|
||||||
|
the master process is newly spawned. On the other hand, the latter
|
||||||
|
just reloads configuration file, and the same master process
|
||||||
|
continues to exist.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|||||||
@@ -236,6 +236,9 @@ all existing frontend connections are done, the current process will
|
|||||||
exit. At this point, only new nghttpx process exists and serves
|
exit. At this point, only new nghttpx process exists and serves
|
||||||
incoming requests.
|
incoming requests.
|
||||||
|
|
||||||
|
If you want to just reload configuration file without executing new
|
||||||
|
binary, send SIGHUP to nghttpx master process.
|
||||||
|
|
||||||
Re-opening log files
|
Re-opening log files
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user