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