diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-02-03 23:19:58 +0100 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-02-09 16:05:05 +0100 |
| commit | 143d266f0db386af987d19e0de79128bc8669714 (patch) | |
| tree | e92edb8babb273402298c0e9b5e3409f4e4abcfc /pkgs/development/python-modules/rangehttpserver | |
| parent | 2565ab7b53ae6966bd08e68203a89645961849b3 (diff) | |
nixos/matrix-synapse: add UNIX domain socket listener support
Exposes two options, `path` and `mode`, to configure the location and
permissions on the socket file.
The `mode` needs to be specified as string in octal and will be converted
into a decimal integer, so it correctly passes through the YAML parser
and arrives at the `os.chmod` call in the Twisted codebase. What a fun
detour.
Adds an assertion, that either `path` or `bind_addresses` and `port` are
configured on every listener.
Migrates the default replication listener of the main instance to a UNIX
domain socket, because it is more efficient.
Introduces the `enableRegistrationScript` option, to gracefully disable
the user registration script, when the client listener listens on a UNIX
domain socket, which is something the script does not support.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
