commit 021a213c56211ee08c8224ea12cb7446ea58ea1a
parent 5ecfa5cf5c5fdd3c0f8cf2510b4400f1b8eb5db3
Author: MS <ms@taler.net>
Date: Fri, 22 Jul 2022 12:03:31 +0200
adapt unix sockets names
Diffstat:
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/bin/taler-gv b/bin/taler-gv
@@ -943,27 +943,27 @@ def prepare(postgres_db_name):
obj.cfg_put("donations", "serve", "http")
obj.cfg_put("donations", "http_serve", "unix")
- obj.cfg_put("donations", "http_unixpath", str(unix_sockets_dir / "donations.sock"))
+ obj.cfg_put("donations", "http_unixpath", str(unix_sockets_dir / "donations.http"))
obj.cfg_put("donations", "http_unixpath_mode", "660")
obj.cfg_put("landing", "serve", "http")
obj.cfg_put("landing", "http_serve", "unix")
- obj.cfg_put("landing", "http_unixpath", str(unix_sockets_dir / "landing.sock"))
+ obj.cfg_put("landing", "http_unixpath", str(unix_sockets_dir / "landing.http"))
obj.cfg_put("landing", "http_unixpath_mode", "660")
obj.cfg_put("blog", "serve", "http")
obj.cfg_put("blog", "http_serve", "unix")
- obj.cfg_put("blog", "http_unixpath", str(unix_sockets_dir / "blog.sock"))
+ obj.cfg_put("blog", "http_unixpath", str(unix_sockets_dir / "blog.http"))
obj.cfg_put("blog", "http_unixpath_mode", "660")
obj.cfg_put("survey", "serve", "http")
obj.cfg_put("survey", "http_serve", "unix")
- obj.cfg_put("survey", "http_unixpath", str(unix_sockets_dir / "survey.sock"))
+ obj.cfg_put("survey", "http_unixpath", str(unix_sockets_dir / "survey.http"))
obj.cfg_put("survey", "http_unixpath_mode", "660")
obj.cfg_put("survey", "bank_password", "x")
obj.cfg_put("merchant", "serve", "unix")
- obj.cfg_put("merchant", "unixpath", str(unix_sockets_dir / "merchant-backend.sock"))
+ obj.cfg_put("merchant", "unixpath", str(unix_sockets_dir / "merchant.http"))
obj.cfg_put("merchant", "wire_transfer_delay", "0 s")
obj.cfg_put("merchant", "default_max_wire_fee", currency + ":" + "0.01")
obj.cfg_put("merchant", "default_max_deposit_fee", currency + ":" + "0.05")
@@ -982,18 +982,18 @@ def prepare(postgres_db_name):
# FIXME: both below used?
obj.cfg_put("auditor", "base_url", "https://auditor.demo.taler.net/")
obj.cfg_put("auditor", "auditor_url", "https://auditor.demo.taler.net/")
- obj.cfg_put("auditor", "unixpath", str(unix_sockets_dir / "auditor.sock"))
+ obj.cfg_put("auditor", "unixpath", str(unix_sockets_dir / "auditor.http"))
obj.cfg_put("auditor", "tiny_amount", currency + ":0.01")
obj.cfg_put(
"taler-exchange-secmod-eddsa",
"unixpath",
- str(unix_sockets_dir / "exchange-secmod-eddsa.sock")
+ str(unix_sockets_dir / "exchange-secmod-eddsa.http")
)
obj.cfg_put(
"taler-exchange-secmod-cs",
"unixpath",
- str(unix_sockets_dir / "exchange-secmod-cs.sock")
+ str(unix_sockets_dir / "exchange-secmod-cs.http")
)
obj.cfg_put("taler-exchange-secmod-cs", "sm_priv_key",
"${TALER_DATA_HOME}/taler-exchange-secmod-cs/secmod-private-key"
@@ -1001,7 +1001,7 @@ def prepare(postgres_db_name):
obj.cfg_put(
"taler-exchange-secmod-rsa",
"unixpath",
- str(unix_sockets_dir / "exchange-secmod-rsa.sock")
+ str(unix_sockets_dir / "exchange-secmod-rsa.http")
)
obj.cfg_put("taler-exchange-secmod-rsa", "sm_priv_key",
"${TALER_DATA_HOME}/taler-exchange-secmod-rsa/secmod-private-key"
@@ -1171,13 +1171,13 @@ def prepare(postgres_db_name):
with open(TALER_UNIT_FILES_DIR / "taler-local-sandbox.service", "w") as sandbox_unit:
sandbox_unit.write(unit_file_content(
description = "euFin Sandbox",
- cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve --with-unix-socket {UNIX_SOCKETS_DIR / 'sandbox.sock'}",
+ cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve --with-unix-socket {UNIX_SOCKETS_DIR / 'sandbox.http'}",
env = TALER_UNIT_FILES_DIR / "taler-local-sandbox.env"
))
with open(TALER_UNIT_FILES_DIR / "taler-local-nexus.service", "w") as nexus_unit:
nexus_unit.write(unit_file_content(
description = "euFin Nexus",
- cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve --with-unix-socket {UNIX_SOCKETS_DIR / 'nexus.sock'}",
+ cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve --with-unix-socket {UNIX_SOCKETS_DIR / 'nexus.http'}",
env = TALER_UNIT_FILES_DIR / "taler-local-nexus.env"
))
# euFin env files.