debian: re-add socket unit

This commit is contained in:
Florian Dold 2021-07-26 15:23:51 +02:00
parent 3ceaae14a3
commit 7d3ffaea52
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -0,0 +1,14 @@
[Unit]
Description=Taler Exchange Socket
PartOf=taler-exchange-httpd.service
[Socket]
ListenStream=/var/lib/taler-exchange/exchange.sock
Accept=no
Service=taler-exchange-httpd.service
SocketUser=taler-exchange-httpd
SocketGroup=www-data
SocketMode=0660
[Install]
WantedBy=sockets.target