From 0b37cf49207694c3170ffa1e95498e980291951e Mon Sep 17 00:00:00 2001 From: des Date: Fri, 6 Oct 2006 11:04:01 +0000 Subject: [PATCH] Clarify the semantics of -d and -dd. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1141 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/varnishd.1 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/varnishd.1 b/varnish-cache/bin/varnishd/varnishd.1 index 18b33079..7bdcd705 100644 --- a/varnish-cache/bin/varnishd/varnishd.1 +++ b/varnish-cache/bin/varnishd/varnishd.1 @@ -28,7 +28,7 @@ .\" .\" $Id$ .\" -.Dd September 26, 2006 +.Dd October 6, 2006 .Dt VARNISHD 1 .Os .Sh NAME @@ -84,6 +84,25 @@ If is not specified, the default is 8080. .It Fl d Enables debugging mode. +This causes +.Nm +to fork; the child process daemonizes and runs as usual, while the +parent process remains attached to the console and will accept +management commands from +.Dv stdin . +If the parent process receives +.Dv EOF , +it will terminate, but the child process will continue to run. +.Pp +The child process will not start accepting client connections until +the +.Cm start +command is given. +.Pp +If the +.Fl d +flag is specified twice, the child process will not daemonize, and +terminating the parent process will also terminate the child. .It Fl f Ar config Use the specified VCL configuration file instead of the builtin default. -- 2.39.5