aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange.taler-exchange-httpd.socket
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-26 20:43:20 +0200
committerFlorian Dold <florian@dold.me>2021-07-26 20:43:20 +0200
commit4ea1660f044479a23ea373b2a1a4654778b80978 (patch)
treea68e56362f498653aa4008828218f92033ba59c2 /debian/taler-exchange.taler-exchange-httpd.socket
parentf5ea86afbf815002f45879f793a2ea374c3ae5fc (diff)
debian: fix names of unit files
Diffstat (limited to 'debian/taler-exchange.taler-exchange-httpd.socket')
-rw-r--r--debian/taler-exchange.taler-exchange-httpd.socket14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/taler-exchange.taler-exchange-httpd.socket b/debian/taler-exchange.taler-exchange-httpd.socket
new file mode 100644
index 000000000..4401dc4ed
--- /dev/null
+++ b/debian/taler-exchange.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