commit 30943d7ba770b9126636ec2b28eca94bb44a8381
parent 95a921236bf343781be67f16a1084ed2af17f9b6
Author: Florian Dold <florian@dold.me>
Date: Mon, 26 Aug 2024 19:58:10 +0200
auditor: fix socket path in config
Diffstat:
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/debian/etc-taler-auditor/taler/conf.d/auditor-system.conf b/debian/etc-taler-auditor/taler/conf.d/auditor-system.conf
@@ -3,10 +3,6 @@
@inline-secret@ auditordb-postgres ../secrets/auditor-db.secret.conf
[auditor]
-# Debian package is configured to use a reverse proxy with a UNIX
-# domain socket. See nginx/apache configuration files.
-SERVE = UNIX
-UNIXPATH = /var/lib/taler-auditor/auditor.sock
# Only supported database is Postgres right now.
DATABASE = postgres
diff --git a/debian/taler-auditor.tmpfiles b/debian/taler-auditor.tmpfiles
@@ -1,2 +1,2 @@
#Type Path Mode UID GID Age Argument
-d /run/taler/auditor-httpd 0755 taler-auditor-httpd taler-auditor-httpd - -
+d /run/taler/auditor-httpd 0750 taler-auditor-httpd www-data - -
diff --git a/src/auditor/auditor.conf b/src/auditor/auditor.conf
@@ -26,7 +26,7 @@ SERVE = tcp
# Unix domain socket to listen on,
# only effective with "SERVE = unix"
-UNIXPATH = ${TALER_RUNTIME_DIR}exchange.http
+UNIXPATH = ${TALER_RUNTIME_DIR}/auditor-httpd/auditor-http.sock
UNIXPATH_MODE = 660
# HTTP port the auditor listens to