Commit 7259d7b2 authored by Marcel's avatar Marcel Committed by github-actions[bot]
Browse files

nixos/weblate: add gunicorn preloading

(cherry picked from commit 1c878b17)
parent 4cfd7010
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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";