mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-27 19:46:40 +03:00
Merge pull request #332507 from mweinelt/pretix-fixes
pretix: variouss fixes
This commit is contained in:
commit
2eb23c4472
4 changed files with 22 additions and 2 deletions
|
@ -538,6 +538,7 @@ in
|
|||
TimeoutStartSec = "15min";
|
||||
ExecStart = "${getExe' pythonEnv "gunicorn"} --bind unix:/run/pretix/pretix.sock ${cfg.gunicorn.extraArgs} pretix.wsgi";
|
||||
RuntimeDirectory = "pretix";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -559,7 +560,10 @@ in
|
|||
"postgresql.service"
|
||||
];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.ExecStart = "${getExe' pythonEnv "celery"} -A pretix.celery_app worker ${cfg.celery.extraArgs}";
|
||||
serviceConfig = {
|
||||
ExecStart = "${getExe' pythonEnv "celery"} -A pretix.celery_app worker ${cfg.celery.extraArgs}";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
nginx.serviceConfig.SupplementaryGroups = mkIf cfg.nginx.enable [ "pretix" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue