diff options
author | e1mo <git@e1mo.de> | 2024-03-21 16:53:42 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-21 21:49:40 +0100 |
commit | bc25c4bd7d2d2b437a36e0f884787fd5e29245fd (patch) | |
tree | 4266c76ed83f723f28af885c2d7afbd9d037c9b3 /nixos | |
parent | 6d5a6cab711e8dfd4e6d5ff677f82690a9d9e07a (diff) | |
download | nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar.gz nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar.bz2 nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar.lz nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar.xz nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.tar.zst nixlib-bc25c4bd7d2d2b437a36e0f884787fd5e29245fd.zip |
nixos/pretix: raise TimeoutStartSec
On some slower systems or ones with a slower database (connection) the initial migrations can exceed the default 90s timeout.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/pretix.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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"; }; |