nixos/pretix: raise TimeoutStartSec

On some slower systems or ones with a slower database (connection) the
initial migrations can exceed the default 90s timeout.
This commit is contained in:
e1mo 2024-03-21 16:53:42 +01:00 committed by Martin Weinelt
parent 6d5a6cab71
commit bc25c4bd7d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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";
};