]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Update documentation.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Feb 2015 16:54:01 +0000 (16:54 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Feb 2015 16:54:01 +0000 (16:54 +0000)
doc/markdown/workers/index.md

index a69138ecf6265b823c404331a1d8c3cc66835df6..31d1d6b96277a5289fd9f65bf73c5c029cecdfbf 100644 (file)
@@ -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