ソースを参照

Update documentation.

tags/0.9.0
Vsevolod Stakhov 9年前
コミット
78431987c0
1個のファイルの変更11行の追加0行の削除
  1. 11
    0
      doc/markdown/workers/index.md

+ 11
- 0
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.

読み込み中…
キャンセル
保存