mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
nixos/weblate: add gunicorn preloading
(cherry picked from commit 1c878b17cc)
This commit is contained in:
committed by
github-actions[bot]
parent
4cfd70109f
commit
7259d7b2d8
@@ -369,9 +369,10 @@ in
|
||||
});
|
||||
in
|
||||
''
|
||||
${gunicorn}/bin/gunicorn \
|
||||
${lib.getExe gunicorn} \
|
||||
--name=weblate \
|
||||
--bind='unix:///run/weblate.socket' \
|
||||
--preload \
|
||||
weblate.wsgi
|
||||
'';
|
||||
ExecReload = "${lib.getExe' pkgs.coreutils "kill"} -s HUP $MAINPID";
|
||||
|
||||
Reference in New Issue
Block a user