[master] 483648a Document UDS -a addresses in the usage output of varnishd.

Geoff Simmons geoff at uplex.de
Fri Feb 23 14:04:08 UTC 2018


commit 483648ace33e4630449abc436d1be30abb63ea70
Author: Geoff Simmons <geoff at uplex.de>
Date:   Fri Feb 23 15:02:24 2018 +0100

    Document UDS -a addresses in the usage output of varnishd.

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 275f6fb..eb1ef4d 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -94,9 +94,12 @@ usage(void)
 
 	printf(FMT, "-a address[:port][,proto]",
 	    "HTTP listen address and port");
-	printf(FMT, "", "Can be specified multiple times.");
-	printf(FMT, "", "  default: \":80,HTTP\"");
+	printf(FMT, "   [,user=<u>][,group=<g>]",
+	    "Can be specified multiple times.");
+	printf(FMT, "   [,mode=<m>]", "  default: \":80,HTTP\"");
 	printf(FMT, "", "Proto can be \"PROXY\" or \"HTTP\" (default)");
+	printf(FMT, "", "user, group and mode set permissions for");
+	printf(FMT, "", "  a Unix domain socket.");
 	printf(FMT, "-b address[:port]", "Backend address and port");
 	printf(FMT, "", "  default: \":80\"");
 	printf(FMT, "-f vclfile", "VCL program");


More information about the varnish-commit mailing list