summaryrefslogtreecommitdiff
path: root/debian/taler-exchange-httpd.taler-exchange-httpd.socket
diff options
context:
space:
mode:
Diffstat (limited to 'debian/taler-exchange-httpd.taler-exchange-httpd.socket')
-rw-r--r--debian/taler-exchange-httpd.taler-exchange-httpd.socket14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/taler-exchange-httpd.taler-exchange-httpd.socket b/debian/taler-exchange-httpd.taler-exchange-httpd.socket
new file mode 100644
index 000000000..4401dc4ed
--- /dev/null
+++ b/debian/taler-exchange-httpd.taler-exchange-httpd.socket
@@ -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