Allow AF_UNIX sockets for dmarc reporter and allow group access
This is required to use redis over UNIX domain sockets.
This commit is contained in:
parent
eb656cd361
commit
aa06b2f489
1 changed files with 4 additions and 0 deletions
|
@ -235,10 +235,14 @@ in
|
|||
RestrictAddressFamilies = [
|
||||
"AF_INET"
|
||||
"AF_INET6"
|
||||
"AF_UNIX"
|
||||
];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
SupplementaryGroups = lib.optionals cfg.redis.configureLocally [
|
||||
config.services.redis.servers.rspamd.group
|
||||
];
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = [
|
||||
"@system-service"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue