[master] e7828205c Docfix: varnishlog and varnishncsa exits from SIGHUP in the foreground

Denes Matetelki denes.matetelki at gmail.com
Thu Aug 1 13:55:10 UTC 2019


commit e7828205c4257cac249604f14c2bed78787c318d
Author: Denes Matetelki <dmatetelki at varnish-software.com>
Date:   Mon Jul 22 14:07:44 2019 +0200

    Docfix: varnishlog and varnishncsa exits from SIGHUP in the foreground
    
    Be a bit more elaborate on the expected behaviour

diff --git a/doc/sphinx/reference/varnishlog.rst b/doc/sphinx/reference/varnishlog.rst
index d94c333b0..f93d5d623 100644
--- a/doc/sphinx/reference/varnishlog.rst
+++ b/doc/sphinx/reference/varnishlog.rst
@@ -30,7 +30,8 @@ SIGNALS
 
 * SIGHUP
 
-  Rotate the log file (see -w option)
+  Rotate the log file (see -w option) in daemon mode,
+  abort the loop and die gracefully when running in the foreground.
 
 * SIGUSR1
 
diff --git a/doc/sphinx/reference/varnishncsa.rst b/doc/sphinx/reference/varnishncsa.rst
index 9c959d3ae..09eac91bd 100644
--- a/doc/sphinx/reference/varnishncsa.rst
+++ b/doc/sphinx/reference/varnishncsa.rst
@@ -196,10 +196,13 @@ Supported formatters are:
 SIGNALS
 =======
 
-SIGHUP
-  Rotate the log file (see -w option).
+* SIGHUP
+
+  Rotate the log file (see -w option) in daemon mode,
+  abort the loop and die gracefully when running in the foreground.
+
+* SIGUSR1
 
-SIGUSR1
   Flush any outstanding transactions.
 
 NOTES


More information about the varnish-commit mailing list