r1141 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Fri Oct 6 13:04:01 CEST 2006


Author: des
Date: 2006-10-06 13:04:01 +0200 (Fri, 06 Oct 2006)
New Revision: 1141

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.1
Log:
Clarify the semantics of -d and -dd.

Modified: trunk/varnish-cache/bin/varnishd/varnishd.1
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.1	2006-10-05 14:56:50 UTC (rev 1140)
+++ trunk/varnish-cache/bin/varnishd/varnishd.1	2006-10-06 11:04:01 UTC (rev 1141)
@@ -28,7 +28,7 @@
 .\"
 .\" $Id$
 .\"
-.Dd September 26, 2006
+.Dd October 6, 2006
 .Dt VARNISHD 1
 .Os
 .Sh NAME
@@ -84,6 +84,25 @@
 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.




More information about the varnish-commit mailing list