Document permission setup for powerdns_recursor (#6231)

This commit is contained in:
Daniel Nelson
2019-08-09 13:56:14 -07:00
committed by GitHub
parent 13c0ff0a7c
commit 23cd2f058c
2 changed files with 152 additions and 128 deletions

View File

@@ -27,14 +27,14 @@ type PowerdnsRecursor struct {
var defaultTimeout = 5 * time.Second
var sampleConfig = `
## An array of sockets to gather stats about.
## Specify a path to unix socket.
## Path to the Recursor control socket.
unix_sockets = ["/var/run/pdns_recursor.controlsocket"]
## Socket for Receive
#socket_dir = "/var/run/"
## Socket permissions
#socket_mode = "0666"
## Directory to create receive socket. This default is likely not writable,
## please reference the full plugin documentation for a recommended setup.
# socket_dir = "/var/run/"
## Socket permissions for the receive socket.
# socket_mode = "0666"
`
func (p *PowerdnsRecursor) SampleConfig() string {