diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-03-21 23:08:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 23:08:13 +0100 |
commit | 1667719d1d724a190cc7f112355590fbada4eadc (patch) | |
tree | 3187a0d59e8191984e2c62a20267a8befb06cd72 | |
parent | 23aec76bdcc5367c8ce38f607df3085d0ef8d298 (diff) | |
parent | bc25c4bd7d2d2b437a36e0f884787fd5e29245fd (diff) |
Merge pull request #297737 from e1mo/pretix-pdf-generation
nixos/pretix: Fix pdf generation
-rw-r--r-- | nixos/modules/services/web-apps/pretix.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/pretix.nix b/nixos/modules/services/web-apps/pretix.nix index 500b2eb5416b0..2355f8c450a1e 100644 --- a/nixos/modules/services/web-apps/pretix.nix +++ b/nixos/modules/services/web-apps/pretix.nix @@ -479,7 +479,7 @@ in CapabilityBoundingSet = [ "" ]; DevicePolicy = "closed"; LockPersonality = true; - MemoryDenyWriteExecute = true; + MemoryDenyWriteExecute = false; # required by pdftk NoNewPrivileges = true; PrivateDevices = true; PrivateTmp = true; @@ -535,6 +535,7 @@ in fi ''; serviceConfig = { + TimeoutStartSec = "5min"; ExecStart = "${getExe' pythonEnv "gunicorn"} --bind unix:/run/pretix/pretix.sock ${cfg.gunicorn.extraArgs} pretix.wsgi"; RuntimeDirectory = "pretix"; }; |