Use exec instead of subprocess in Bookwyrm executable
This commit is contained in:
parent
5c6c496e45
commit
eb6a52e822
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ mkDerivation {
|
||||||
export EMAIL_HOST_PASSWORD=""
|
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
|
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
|
EOF
|
||||||
|
|
||||||
chmod +x $out/bin/bookwyrm
|
chmod +x $out/bin/bookwyrm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue