nixos/weblate: add gunicorn preloading

This commit is contained in:
Marcel
2025-11-26 21:33:12 +01:00
parent 91d3482f24
commit 1c878b17cc
+2 -1
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";