nixos/weblate: add gunicorn preloading

(cherry picked from commit 1c878b17cc)
This commit is contained in:
Marcel
2025-11-26 21:22:33 +01:00
committed by github-actions[bot]
parent 4cfd70109f
commit 7259d7b2d8

View File

@@ -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";