Unverified Commit bc25c4bd authored by e1mo's avatar e1mo Committed by Martin Weinelt
Browse files

nixos/pretix: raise TimeoutStartSec

On some slower systems or ones with a slower database (connection) the
initial migrations can exceed the default 90s timeout.
parent 6d5a6cab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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";
        };