From eb6a52e8228d24132329ce3b502b4e5414c35738 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Fri, 7 Mar 2025 13:34:29 +0100 Subject: [PATCH] Use exec instead of subprocess in Bookwyrm executable --- packages/bookwyrm/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bookwyrm/package.nix b/packages/bookwyrm/package.nix index e64c346..460a6a7 100644 --- a/packages/bookwyrm/package.nix +++ b/packages/bookwyrm/package.nix @@ -113,7 +113,7 @@ mkDerivation { export EMAIL_HOST_PASSWORD="" export SECRET_KEY="\$( ${coreutils-full}/bin/cat /etc/nixos/assets/bookwyrm-secret-key )" # The escape here is required in order to retrieve the key file contents at runtime - ${gunicorn}/bin/gunicorn bookwyrm.wsgi:application --bind=unix:/run/bookwyrm/http-socket + exec ${gunicorn}/bin/gunicorn bookwyrm.wsgi:application --bind=unix:/run/bookwyrm/http-socket EOF chmod +x $out/bin/bookwyrm