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:
parent
6d5a6cab71
commit
bc25c4bd7d
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue