r1180 - in branches/1.0: . bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Wed Oct 18 16:27:10 CEST 2006


Author: des
Date: 2006-10-18 16:27:10 +0200 (Wed, 18 Oct 2006)
New Revision: 1180

Modified:
   branches/1.0/
   branches/1.0/bin/varnishd/varnishd.1
Log:
 r32842 at cat (orig r1141):  des | 2006-10-06 13:04:01 +0200
 Clarify the semantics of -d and -dd.



Property changes on: branches/1.0
___________________________________________________________________
Name: svk:merge
   - d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1140
   + d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1141

Modified: branches/1.0/bin/varnishd/varnishd.1
===================================================================
--- branches/1.0/bin/varnishd/varnishd.1	2006-10-18 14:27:09 UTC (rev 1179)
+++ branches/1.0/bin/varnishd/varnishd.1	2006-10-18 14:27:10 UTC (rev 1180)
@@ -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