Commit 88650855 authored by Geoff Simmons's avatar Geoff Simmons

Document the gid and mode options.

parent 5bef64dd
......@@ -9,11 +9,12 @@ owner can read files relative to a base directory.
```go
http-faccess [-address addr] [-base dir] [-access log] [-error log]
http-faccess [-address addr] [-base dir] [-access log] [-error log]
[-gid gid] [-mode mode]
http-faccess -version
http-faccess -version
http-faccess -help
http-faccess -help
```
### DESCRIPTION
......@@ -211,6 +212,30 @@ file already exists at that path, then http-faccess fails to
start. By default, http-faccess listens at port :7357.
```go
-gid groupid
```
Set the numeric group id of the socket file created when the server
starts, if a Unix domain socket was specified by the -address
option. Ignored if the server is listening at an IP address. If
groupid is -1, then the gid of the socket file is not changed --
this is the default.
```go
-mode mode
```
Set the permissions of the socket file created when the server
starts, if a Unix domain socket was specified by the -address
option. Ignored if the server is listening at an IP address. If the
value of mode has a leading 0, it is interpreted as an octal
number, so that the customary notation for permissions can be used
(such as 0660). If mode is -1, the permissions of the socket file
are not changed -- this is the default.
```go
-access logfile
```
......
......@@ -33,6 +33,7 @@
//
// .
// http-faccess [-address addr] [-base dir] [-access log] [-error log]
// [-gid gid] [-mode mode]
//
// http-faccess -version
//
......@@ -211,6 +212,24 @@
// file already exists at that path, then http-faccess fails to
// start. By default, http-faccess listens at port :7357.
//
// -gid groupid
//
// Set the numeric group id of the socket file created when the server
// starts, if a Unix domain socket was specified by the -address
// option. Ignored if the server is listening at an IP address. If
// groupid is -1, then the gid of the socket file is not changed --
// this is the default.
//
// -mode mode
//
// Set the permissions of the socket file created when the server
// starts, if a Unix domain socket was specified by the -address
// option. Ignored if the server is listening at an IP address. If the
// value of mode has a leading 0, it is interpreted as an octal
// number, so that the customary notation for permissions can be used
// (such as 0660). If mode is -1, the permissions of the socket file
// are not changed -- this is the default.
//
// -access logfile
//
// Write the server access log (in Common Log Format) to *logfile*, or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment