Merge pull request #307264 from pks-t/pks-matrix-appservice-irc-fix-chown-registration-yml

nixos/matrix-appservice-irc: fix chown of registration.yml in pre-script
This commit is contained in:
Martin Weinelt 2024-04-27 21:12:38 +02:00 committed by GitHub
commit 2b1f64b358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,8 +214,9 @@ in {
RestrictRealtime = true;
PrivateMounts = true;
SystemCallFilter = [
"@system-service @pkey @chown"
"@system-service @pkey"
"~@privileged @resources"
"@chown"
];
SystemCallArchitectures = "native";
# AF_UNIX is required to connect to a postgres socket.