summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/taler-gv10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/taler-gv b/bin/taler-gv
index d00e4bd..1ac1ff5 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1167,17 +1167,23 @@ def prepare(postgres_db_name):
with open(TALER_UNIT_FILES_DIR / "taler-local-postgres.env", "w") as postgres_env:
postgres_env.write(f"PGPORT={os.environ.get('PGPORT')}")
+ # FIXME/REMINDER: libEufin needs to enable writes for the
+ # domain socket's group, otherwise Nginx won't be able to
+ # proxy_pass requests.
+
# euFin unit files.
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 / 'bank.http'}",
+ cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve", # takes port 5000
+ # cmd = f"{TALER_PREFIX}/bin/libeufin-sandbox serve --with-unix-socket {UNIX_SOCKETS_DIR / 'bank.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.http'}",
+ cmd = f"{TALER_PREFIX}/bin/libeufin-nexus serve", # takes port 5001
+ # 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.