summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2022-08-25 10:40:45 +0200
committerMS <ms@taler.net>2022-08-25 10:40:45 +0200
commit4143e3c430d240c68797f432c0f6b9efead362ce (patch)
tree411413c216b641458cc0369680e763e4eb071231
parent3f4a1c3b6992723573be85f575735aa51b683366 (diff)
downloaddeployment-4143e3c430d240c68797f432c0f6b9efead362ce.tar.gz
deployment-4143e3c430d240c68797f432c0f6b9efead362ce.tar.bz2
deployment-4143e3c430d240c68797f432c0f6b9efead362ce.zip
fix env
-rwxr-xr-xbin/taler-gv5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/taler-gv b/bin/taler-gv
index 4b268ea..dec575f 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1187,7 +1187,6 @@ def prepare(postgres_db_name):
))
# euFin env files.
with open(TALER_UNIT_FILES_DIR / "taler-local-sandbox.env", "w") as sandbox_env:
- sandbox_env.write(f"PYTHONUSERBASE={TALER_PREFIX}\n")
sandbox_env.write(f"LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:{SANDBOX_DB_FILE}\n")
sandbox_env.write(f"LIBEUFIN_SANDBOX_ADMIN_PASSWORD={SANDBOX_ADMIN_PASSWORD}\n")
# The following populates the bank UI navigation bar.
@@ -1225,12 +1224,14 @@ def prepare(postgres_db_name):
with open(TALER_UNIT_FILES_DIR / "taler-local-landing.service", "w") as landing_unit:
landing_unit.write(unit_file_content(
description = "Landing Website of Taler demo.",
- cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing -c {CFG_OUTDIR / 'taler.conf'}",
+ cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing",
+ # cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing -c {CFG_OUTDIR / 'taler.conf'}",
env = TALER_UNIT_FILES_DIR / "taler-local-frontends.env"
))
with open(TALER_UNIT_FILES_DIR / "taler-local-frontends.env", "w") as frontends_env:
# To populate the navigation bar:
frontends_env.write((
+ f"PYTHONUSERBASE={TALER_PREFIX}\n"
f"PATH={os.environ.get('PATH')}\n"
f"TALER_CONFIG_FILE={CFG_OUTDIR / 'taler.conf'}\n"
f"TALER_ENV_URL_INTRO=https://demo.taler.net/\n"