From bc25c4bd7d2d2b437a36e0f884787fd5e29245fd Mon Sep 17 00:00:00 2001 From: e1mo Date: Thu, 21 Mar 2024 16:53:42 +0100 Subject: [PATCH] nixos/pretix: raise TimeoutStartSec On some slower systems or ones with a slower database (connection) the initial migrations can exceed the default 90s timeout. --- nixos/modules/services/web-apps/pretix.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/web-apps/pretix.nix b/nixos/modules/services/web-apps/pretix.nix index 18d4a20beeec..2355f8c450a1 100644 --- a/nixos/modules/services/web-apps/pretix.nix +++ b/nixos/modules/services/web-apps/pretix.nix @@ -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"; };