Have gunicorn bind to unix socket in Bookwyrm systemd unit
This commit is contained in:
parent
4d13feaa3d
commit
2a0711c842
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ mkDerivation {
|
|||
export EMAIL_HOST_PASSWORD=""
|
||||
export SECRET_KEY="\$( 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
|
||||
${gunicorn}/bin/gunicorn bookwyrm.wsgi:application --bind=unix:/run/bookwyrm/http-socket
|
||||
EOF
|
||||
|
||||
chmod +x $out/bin/bookwyrm
|
||||
|
|
Loading…
Add table
Reference in a new issue