Merge pull request #296519 from NixOS/pretix-fixes

nixos/pretix: make state directory world-readable
This commit is contained in:
Martin Weinelt 2024-03-16 23:51:16 +01:00 committed by GitHub
commit ce8e7baf9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -468,6 +468,7 @@ in
StateDirectory = [
"pretix"
];
StateDirectoryMode = "0755";
CacheDirectory = "pretix";
LogsDirectory = "pretix";
WorkingDirectory = cfg.settings.pretix.datadir;
@ -506,7 +507,7 @@ in
"~@privileged"
"@chown"
];
UMask = "0077";
UMask = "0022";
};
};
in {