X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdcached.html;fp=doc%2Frrdcached.html;h=f8ace3d8cac29c8f91cfd1ae17efc5b0c921ddc5;hb=fd248121a4d1324289fcb6d0429613c6708cd559;hp=1ad399ac6f643f751ecc133be2c43f43cccf7e02;hpb=91b2f1022a195d008d818f283690ef63a00fd79c;p=pkg-rrdtool.git diff --git a/doc/rrdcached.html b/doc/rrdcached.html index 1ad399a..f8ace3d 100644 --- a/doc/rrdcached.html +++ b/doc/rrdcached.html @@ -66,6 +66,7 @@
rrdcached [-P permissions] [-l address] +[-s group] [-w timeout] [-z delay] [-f timeout] @@ -101,7 +102,7 @@ section below.
Tells the daemon to bind to address and accept incoming connections on that
socket. If address begins with unix:
, everything following that prefix is
interpreted as the path to a UNIX domain socket. Otherwise the address or node
-name are resolved using getaddrinfo.
getaddrinfo()
.
For network sockets, a port may be specified by using the form
[address]:port
. If the address is an IPv4 address or a fully
qualified domain name (i. e. the address contains at least one dot
@@ -120,6 +121,38 @@ domain socket must start with a slash in the second case!
If the -l option is not specified the default address,
unix:/tmp/rrdcached.sock
, will be used.
Set the group permissions of a UNIX domain socket. The option accepts either +a numeric group id or group name. That group will then have both read and write +permissions (the socket will have file permissions 0750) for the socket and, +therefore, is able to send commands to the daemon. This +may be useful in cases where you cannot easily run all RRD processes with the same +user privileges (e.g. graph generating CGI scripts that typically run in the +permission context of the web server).
+This option affects the following UNIX socket addresses (the following +-l options), i.e., you may specify different settings for different +sockets.
+The default is not to change ownership or permissions of the socket and, thus, +use the system default.
+Set the file permissions of a UNIX domain socket. The option accepts an octal +number representing the bit pattern for the mode (see chmod(1) for +details).
+Please note that not all systems honor this setting. On Linux, read/write +permissions are required to connect to a UNIX socket. However, many +BSD-derived systems ignore permissions for UNIX sockets. See unix(7) for +details.
+This option affects the following UNIX socket addresses (the following +-l options), i.e., you may specify different settings for different +sockets.
+The default is not to change ownership or permissions of the socket and, thus, +use the system default.
+FLUSH
and PENDING
commands one could specify:
rrdcached -P FLUSH,PENDING $MORE_ARGUMENTS-
The -P option effects the following socket addresses (the following -l +
The -P option affects the following socket addresses (the following -l
options). In the following example, only the IPv4 network socket (address
10.0.0.1
) will be restricted to the FLUSH
and PENDING
commands: