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 21:49:40 +01:00
committed by Martin Weinelt
parent 6d5a6cab71
commit bc25c4bd7d
@@ -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";
};