diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-20 16:54:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-20 16:54:01 +0000 |
commit | 78431987c0ba7aaaf7fd9b34d6042a5380a7e2d5 (patch) | |
tree | 151f68d2108f52fe0402cb805b098dea5971bd07 /doc/markdown/workers | |
parent | 91f49b9cebee05b72f1cd99e437a85e66cb99fa3 (diff) | |
download | rspamd-78431987c0ba7aaaf7fd9b34d6042a5380a7e2d5.tar.gz rspamd-78431987c0ba7aaaf7fd9b34d6042a5380a7e2d5.zip |
Update documentation.
Diffstat (limited to 'doc/markdown/workers')
-rw-r--r-- | doc/markdown/workers/index.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/markdown/workers/index.md b/doc/markdown/workers/index.md index a69138ecf..31d1d6b96 100644 --- a/doc/markdown/workers/index.md +++ b/doc/markdown/workers/index.md @@ -69,5 +69,16 @@ Moreover, you can specify systemd sockets if rspamd is invoked by systemd: bind_socket = "systemd:1"; # the first socket passed by systemd throught environment ~~~ +For unix sockets, it is also possible to specify owner and mode using this syntax: + +~~~nginx +bind_socket = "/tmp/rspamd.sock mode=0666 owner=user"; +~~~ + +Without owner and mode, rspamd uses the active user as owner (e.g. if started by root, +then `root` is used) and `0644` as access mask. Please mention that you need to specify +**octal** number for mode, namely prefixed by a zero. Otherwise, modes like `666` will produce +a weird result. + You can specify multiple `bind_socket` options to listen on as many addresses as you want.
\ No newline at end of file |