From b803c23a32afd84fda5181a37ffa1de06147564c Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Sat, 23 Nov 2019 06:25:47 +0000 Subject: [PATCH] Docs: mention --foreground in squid -z man page (#508) --- src/squid.8.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/squid.8.in b/src/squid.8.in index f55e7838d8..aa08ff6ac9 100644 --- a/src/squid.8.in +++ b/src/squid.8.in @@ -6,6 +6,7 @@ squid \- HTTP web proxy caching server .SH SYNOPSIS .if !'po4a'hide' .B squid .if !'po4a'hide' .B [\-dhisrvzCFNRSVYX] +.if !'po4a'hide' .B [\--foreground] .if !'po4a'hide' .B [\-l facility .if !'po4a'hide' .B ] [\-f @@ -187,9 +188,15 @@ just exits. If you suspect cache_dir corruption, you must delete the top-level cache_dir directory before running squid -z. .IP By default, squid -z runs in daemon mode (so that configuration macros and -other SMP features work as expected). Use +other SMP features work as expected), returning control to the caller +before cache_dirs are fully initialized. If run from init scripts or +daemon managers, the caller often needs to wait for the initialization to +complete before proceeding further. +Use +.B \--foreground +option to prevent premature exits. To disable daemon mode, use .B \-N -option to overwrite this. +option. . .SH FILES Squid configuration files located in @SYSCONFDIR@/: -- 2.47.2