The
The argument must be a non-negative number of seconds; any other + value is a fatal configuration error. The directive may only be used + in the global server configuration. If it is not used at all, the + server never terminates itself.
+ +The shutdown is not graceful: nothing is in flight when the
+ timeout expires, so there is nothing left to drain and the server
+ exits immediately. Instead of the usual caught SIGTERM,
+ shutting down message, a notice is logged reading idle
+ timeout reached, shutting down.
This is primarily useful with systemd socket activation, where + the listening sockets belong to the service manager rather than to + the server: an idle server can exit and leave the sockets with + systemd, which starts it again when the next connection arrives.
+