Files @ b4004db97776
Branch filter:

Location: majic-ansible-roles/roles/wsgi_website/templates/systemd_wsgi_website.socket.j2

branko
MAR-218: Fix incorrect logic for switching directory:

- No piping can be used (since that would be a subshell and would not
affect the working directory for the remainder of the script run).
[Unit]
Description=Socket for website {{ fqdn }}

[Socket]
ListenStream=/run/wsgi/{{ fqdn }}.sock
SocketUser=www-data
SocketGroup=www-data
SocketMode=0660

[Install]
WantedBy=sockets.target